Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 638 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 638 Bytes

Install Requirements

pip install -r requirements.txt

Environment file

You must have environment file with correct values to run server properly, here is example

DB_URI=postgresql://postgres:testtest@localhost:5432/postgres

BACKEND_CORS_ORIGINS=http://localhost, http://localhost:8000
SECRET_KEY=some_secret_key # can be generated using openssl
[email protected]
FIRST_SUPERUSER_PASSWORD=testtest

Run Migrations before running server

alembic upgrade head

Run development server

python app.py

After first run it will create superuser based on .env file