This is a boilerplate for Django projects. It includes a basic setup for a Django project with a PostgreSQL database, daisyui for the frontend and docker-compose for development.
- Django 5
- PostgreSQL
- DaisyUI
- Docker-compose
- Clone the repository
git clone https://github.com/tsarbas/django-boilerplate.git myproject
- Run database
docker-compose up -d
- Install backend dependencies
poetry install
- Install frontend dependencies
npm install
- Run migrations
python manage.py migrate
- Install pre-commit hooks
pre-commit run --all-files
pre-commit install
- Run css watcher
npm run dev
- Run the server
python manage.py runserver
This project is licensed under the MIT License - see the LICENSE file for details.