Boilerplate for any django projects with HTML, CSS, Bootstrap, REST API.
- Create a repository using this template or clone the repository
git clone git@github.com:sajib1066/django-boilerplate.git
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install modules
pip install -r requirements.txt
- Create local settings
cp examples/local_settings.example django_boilerplate/local_settins.py
- Create logs file
mkdir logs
- Rename project
python manage.py renameproject django_boilerplate <your_project_name>
- Migrate database
python manage.py migrate
- Create superuser
python manage.py createsuperuser
- Run the project
python manage.py runserver