Create .env
file with .env.example
keys in config
folder.
Install dependencies:
poetry install
Activate virtual environment:
poetry shell
Make database migrations:
...
Create superuser for admin panel access:
...
Run celery task queue:
celery -A server worker -l DEBUG -P gevent # For windows
celery -A server worker -l DEBUG # For MacOS\Linux
Run server:
uvicorn app.main:app --reload
Run test and quality suits to make sure all dependencies are satisfied and applications works correctly before making changes.
pytest .
For testing API you can follow the link http://localhost:8000/graphql/