Quick Start Guide

Get up and running in minutes with this step-by-step guide.

Prerequisites

Local Installation

  1. Create a virtual environment:
    $ python3 -m venv venv $ source venv/bin/activate
  2. Install dependencies:
    $ pip install -r requirements.txt
  3. Setup environment variables:
    $ cp .env.example .env
  4. Run migrations:
    $ python manage.py migrate
  5. Start the development server:
    $ python manage.py runserver

Access your application at http://localhost:8081

Docker Installation

Use Docker for a consistent development environment across all platforms.

Development Mode

$ cp .env.example .env $ docker compose --profile dev up --build

Production Mode

$ docker compose --profile prod up -d $ docker compose --profile prod exec web-prod python manage.py migrate

Project Structure

Understanding the template organization:

Environment Configuration

The template uses separate settings for development and production:

Development Settings

Located in config/settings/dev.py

Production Settings

Located in config/settings/prod.py

Common Commands

# Create superuser $ python manage.py createsuperuser # Collect static files $ python manage.py collectstatic # Run tests $ python manage.py test # Access Django shell $ python manage.py shell

Need Help?

If you encounter any issues or have questions, check the README.md file or visit the Contact page.