Create .env
file with .env.example
keys in config
folder.
Install dependencies:
poetry install
Activate virtual environment:
poetry shell
Make database migrations:
python manage.py migrate
Create superuser for admin panel access:
python manage.py createsuperuser
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:
python manage.py runserver
Run test and quality suits to make sure all dependencies are satisfied and applications works correctly before making changes.
python manage.py test
With superuser credentials you can sign in admin panel http://localhost:8000/admin/
For check services (Database, AWS S3, etc.) running status
follow to http://localhost:8000/health/
For testing API you can follow the link http://localhost:8000/graphql/