- Clone this repo:
git clone git@github.com:DigitKoodit/koodikerho-rest.git
OR
git clone https://github.com/DigitKoodit/koodikerho-rest.git
- Navigate to the directory you cloned:
cd koodikerho-rest
- Create a Python virtual environment:
(Use python or python3 command depending on your system)
python -m venv venv
- Activate the virtual env:
macOS, Linux, WSL, Git Bash:
source venv/bin/activate
Windows cmd.exe:
venv\Scripts\activate.bat
Windows PowerShell:
venv\Scripts\Activate.ps1
- Install the PyPI packages:
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt -r requirements-dev.txt
uvicorn main:app --reload