Skip to main content
Conductor works well with Django apps. Here’s a basic conductor.json to add to the root directory of your project. Once added, every new workspace will automatically copy your environment variables and install dependencies.
{
  "scripts": {
    "setup": "cp $CONDUCTOR_ROOT_PATH/.env . && pip install -r requirements.txt && python manage.py migrate",
    "run": "python manage.py runserver",
    "archive": ""
  }
}
If you use a virtual environment, you may prefer to create a fresh one per workspace:
{
  "scripts": {
    "setup": "cp $CONDUCTOR_ROOT_PATH/.env . && python -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python manage.py migrate",
    "run": "source venv/bin/activate && python manage.py runserver",
    "archive": ""
  }
}