Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 1.11 KB

README.md

File metadata and controls

49 lines (45 loc) · 1.11 KB

Django Boilerplate

Boilerplate for any django projects with HTML, CSS, Bootstrap, REST API.

python-version django-version

Development Setup

  1. Create a repository using this template or clone the repository
    git clone git@github.com:sajib1066/django-boilerplate.git
    
  2. Create a virtual environment
    python -m venv venv
    
  3. Activate the virtual environment
    source venv/bin/activate
    
  4. Install modules
    pip install -r requirements.txt
    
  5. Create local settings
    cp examples/local_settings.example django_boilerplate/local_settins.py
    
  6. Create logs file
    mkdir logs
    
  7. Rename project
    python manage.py renameproject django_boilerplate <your_project_name>
    
  8. Migrate database
    python manage.py migrate
    
  9. Create superuser
    python manage.py createsuperuser
    
  10. Run the project
    python manage.py runserver