Django Template for Saas projects.
Join our Discord server to get community and maintainers support: https://discord.gg/tZtrpD45TR
⋅⋅⋅ Create an env file (.env
) file in the root of the project with the following content:
DATABASE_URL=postgresql://djangito:djangito@db/djangito
REDIS_URL=redis://redis/0
DJANGO_SECRET_KEY=123
DJANGO_DEBUG=True
⋅⋅⋅ This command will install all the dependencies in requirements.txt with docker-compose build
.
⋅⋅⋅ After all dependencies are installed, this will run python manage.py migrate
⋅⋅⋅ Finally it will create a base Superuser (if None exists) with the following data:
⋅⋅* First Name: Admin
⋅⋅* Last Name: User
⋅⋅* Email: [email protected]
⋅⋅⋅* Password: adminpass
We Recommend changing the User password once the set up is completed.
This command will run docker-compose up
and will run your django server in the URL: localhost:8060
.
More available commands in Makefile