- Go to directory
backend
. - Change
.env-example
to.env
SECRET_KEY = "YourSpeacialKey"
- You must the be directory
backend
docker-compose build
- Makemigrations from Docker
docker-compose run djapp python manage.py makemigrations
- Migration from Docker
docker-compose run djapp python manage.py migrate
- Create Super User
docker-compose run djapp python manage.py createsuperuser
- Run the Docker
docker-compose up
- Now you can go to 127.0.0.1:8000 to see it live. 🚀
- Admin panel 127.0.0.1:8000/admin
- You can create what u want!
- You should use a tool like Postman or Insomnia for check out the endpoints
http://127.0.0.1:8000/swagger/
orhttp://127.0.0.1:8000/redoc/
can be check the api's
- All applications are inside the
Apps
folder. - The
static
folder was completely collectstatic. - Can be chill with our project 🚀