Skeleton setup of Django with postgres in a docker environment
djangoapp/
├── app/
│ ├── settings/
│ │ ├── init.py
│ │ ├── asgi.py
│ │ ├── settings.py
│ │ ├── urls.py
│ │ └── wsgi.py
│ ├── init.py
│ └── manage.py
├── build/
│ ├── SAMPLE.env
│ ├── Dockerfile_app
│ └── Dockerfile_db
├── .gitignore
├── docker-compose.yml
└── README.md
- Clone the repository.
- Navigate to the project directory.
- Create build/.env file from build/SAMPLE.env with your credentials
- Build using docker compose file:
docker compose build
- Create and start docker containers:
docker compose up -d
- Run migration:
docker exec -u root anl-django-app python manage.py migrate
This project is licensed under the GNU General Public License (GPL) v3.0.
The GNU General Public License (GPL) v3.0 is a widely used open-source license that ensures that any derivative works also remain open source. It allows users to use, modify, and distribute the software, but any modifications or derivative works must also be licensed under the GPL and made freely available. For more information, see the GPLv3 License.