Boilerplate template to start development with Django v3.0.8 and djangorestframework v3.11.0 with postgresSQL database backend inside Docker container.
This is for development only. You will have further secure the ports and other configuration settings for deployment to staging and production.
- Clone Repository
- install docker-ce or docker desktop
- add .env file inside src container
- Build docker containers from the src directory on terminal run docker-compose command
$> cd src
$> docker-compose up --build
- Now if you go to the http://localhost:8000/ you will see django default
To run the django application should now be up. If you are using vscode install the docker plugin and the Remote Development plugin to continue to develop on vscode. you will require to run the makemigration and migrate commands on django to setup the database for the first time.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Also update the changelog as well changelog