Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 998 Bytes

README.md

File metadata and controls

61 lines (45 loc) · 998 Bytes

Koodikerho REST

Requirements

Setup

  1. Clone this repo:
git clone [email protected]:DigitKoodit/koodikerho-rest.git

OR

git clone https://github.com/DigitKoodit/koodikerho-rest.git
  1. Navigate to the directory you cloned:
cd koodikerho-rest
  1. Create a Python virtual environment:

(Use python or python3 command depending on your system)

python -m venv venv
  1. 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
  1. Install the PyPI packages:
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt -r requirements-dev.txt

Running

uvicorn main:app --reload