Boilerplate to setup quickly with Django, PostgreSQL and Docker.
Note: Make sure you have installed Python3, PostgreSQL, Docker and Git.
-
Clone the repository
git clone https://github.com/saifxd7/boilerplate-django
-
Run the ./setup.sh <your_project_name> eg.
./setup.sh example
-
Run
docker-compose up -d
to start the PostgeSQL container. -
Wait a couple of seconds for PostgreSQL database to start and run
./manage.py runserver
-
Open browser and hit the url
http://127.0.0.1:8000/
and we successfully create a base setup project
Saif - LinkedIn