A clean and well-structured Django boilerplate built with django-unfold for the admin panel and DevBook Theme for the landing page. This project is designed to provide a solid foundation for building Django applications with a clean architecture.
- Admin Panel: Powered by django-unfold for a modern and sleek admin experience.
- Landing Page: Uses the DevBook theme for a professional and responsive frontend.
- Task Queue: Integrated with Celery for background job processing.
- Database Support: PostgreSQL with
psycopg2-binary. - Extra Utilities: Includes common Django extensions and type hinting support.
- Python 3.10+
- PostgreSQL
- Docker (optional, for containerized deployment)
-
Clone the repository:
git clone https://github.com/vsnasc/django-unfold-boilerplate.git cd django-unfold-boilerplate -
Create a virtual environment and install dependencies:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` pip install -r requirements.txt
-
Configure environment variables (e.g.,
.envfile or export manually):cp env.example env.dev
-
Run migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Access the application:
- Admin panel:
http://127.0.0.1:8000/admin/ - Landing page:
http://127.0.0.1:8000/
- Admin panel:
To use Docker, run:
docker-compose up --build.
├── Dockerfile
├── README.md
├── app
│ ├── admin
│ ├── management
│ ├── migrations
│ ├── models
│ ├── tasks
│ ├── templates
│ ├── views
├── project
│ ├── settings.py
│ ├── urls.py
│ ├── celery.py
├── static
├── docker-compose.yml
├── manage.py
└── requirements.txt
This project is licensed under the MIT License - see the LICENSE.md file for details.