Skip to content

Environment Setup

This guide will walk you through setting up your local development environment using VS Code.

  1. Create .env file in the project root.

    # ──────────────── Django App Settings ────────────────
    
    DEBUG=False
    DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]  # Add your domain or public IP for production
    
    # ──────────────── Secret Key ────────────────
    # IMPORTANT: Replace with a secure key in .env (do not use this template key)
    SECRET_KEY=changeme-in-real-env
    
    # ──────────────── Django Superuser (Auto Create) ────────────────
    DJANGO_SUPERUSER_USERNAME=admin
    DJANGO_SUPERUSER_EMAIL=admin@example.com
    DJANGO_SUPERUSER_PASSWORD=admin123  # Change in real .env
    
    # ──────────────── PostgreSQL Settings ────────────────
    POSTGRES_DB=helpdesk
    POSTGRES_USER=postgres    # Change or leave default
    POSTGRES_PASSWORD=changeme123  # Change in real .env
    POSTGRES_HOST=db
    POSTGRES_PORT=5432
    
    # ──────────────── Redis / Celery (Optional) ────────────────
    REDIS_URL=redis://redis:6379/0
    

Next Steps

With your local environment now set up, you are ready to start Arctyk ITSM using Docker.