A series of checklists for reviewing compliance for aeronautical charts and procedure design
Note: This code is in development and provided as is, it may contain errors and you are solely resposible for using it. Any feedback is welcome.
-
Create and activate virtual environment:
-
Windows PowerShell:
py -m venv .venv .\.venv\Scripts\Activate.ps1
-
-
Install dependencies:
pip install --upgrade pip pip install -r requirements.txt
-
Create your
.envfrom the template:copy .env.example .env
-
Update
.envvalues:SECRET_KEY: required.ENVIRONMENT: usedevelopmentfor local work.DATABASE_URL: required when using Postgres.POSTGRES_LOCALLY: setTrueonly if you want Postgres in local development.
Example local
DATABASE_URL:postgres://postgres:postgres@localhost:5432/checklists
Start Command:gunicorn app_checklist.wsgi:application --log-file -Pre-Deploy Command:python manage.py migrate- Required env vars:
ENVIRONMENT=productionSECRET_KEY=<your-production-secret>DATABASE_URL=<supabase-session-pooler-url-with-sslmode=require>POSTGRES_LOCALLY=False
Run migrations and start server:
python manage.py migrate
python manage.py runserver