pip install poetry
(or safer, follow the instructions: https://python-poetry.org/docs/#installation)- Install dependencies
cd
into the directory where thepyproject.toml
is located thenpoetry install
- Run the DB migrations via poetry
poetry run python app/prestart.py
(only required once) (Unix users can use the bash script if preferred) - [UNIX]: Run the FastAPI server via poetry with the bash script:
poetry run ./run.sh
- [WINDOWS]: Run the FastAPI server via poetry with the Python command:
poetry run python app/main.py
- Open http://localhost:8001/
part-08-structure-and-versioning
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||