A raw django boilerplate with async background tasks support
- Install Docker Engine from here
- Install Docker Compose from here
-
Move inside
api
directory -
Copy the
.example.env
file and make a new file.env
-
Setup variables
-
Move inside
api
directory and installvenv
python3 -m venv .venv
-
Activate virtual environment
source ./.venv/bin/activate/
-
Install requirements
pip install -r requirements.txt
docker compose up
Open another terminal, go to same directory and run
docker compose exec api ./manage.py migrate
- Github: nightwarriorftw
- Linkedin: nightwarriorftw
- Twitter: nightwarriorftw
Credits goes to me