Template to get started quickly with Django, PostgreSQL and Docker.
Before starting make sure that you have Python 3, Docker and git installed on you system.
- Clone the repository by running
git clone https://github.com/aaralh/django-project-template.git
- Run the
./setup.sh <your_project_name>
with your project name as a argument for example./setup.sh your_project
. Make sure that the given project name is valid Django project name - After
./setup.py
has finished, rundocker-compose up -d
to start the PostgeSQL container. - Wait a couple of seconds for DB to start and run
./manage.py runserver
- Navigate to
http://127.0.0.1:8000/
and voilà we have fully working Django project with PostgreSQL DB running 🎉
Any contributions you make are greatly appreciated 😄
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewAmazingFeature
) - Commit your Changes (
git commit -m 'Add some NewAmazingFeature'
) - Push to the Branch (
git push origin feature/NewAmazingFeature
) - Open a Pull Request
- Get it approved and merged 🚀
Distributed under the MIT License. See LICENSE
for more information.
Aaro Alhainen - @AAlhainen
Project Link: https://github.com/aaralh/django-project-template