This is a template repository for a Django project with a PostgreSQL database, managed through Docker Compose.
Feel free to customize this template further according to your project's requirements.
This basic project consists of a usermanagement directory as the main project and a usersapp directory for the app handling user-related functionalities showcasing the basic functioanlity for using Django.
- Django 4.x
- PostgreSQL database
- Docker and Docker Compose setup
- User management system in
usersapp
.
├── docker-compose.yml
├── Dockerfile
├── entrypoint.sh
├── usermanagement
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── usersapp
├── management
├── migrations
├── admin.py
├── apps.py
├── models.py
├── serializers.py
├── tests.py
├── urls.py
└── views.py
Make sure you have the following installed on your local machine:
- Docker
- Docker Compose
- Clone the repository
git clone https://github.com/yourusername/yourproject.git
cd yourproject- Build and start the Docker containers
docker-compose up --build- Access the application at
http://localhost:8000/. - Access the Django admin at
http://localhost:8000/admin/.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License. See the LICENSE file for details.