This is a barebones Django example deployed on Aptible. The app in this repo is deployed live here.
The only thing the user needs to do is create and set SECRET_KEY
environment
variable during onboarding flow.
python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
If you already created the app and just want to apply an environment variable, you can use our cli tool:
aptible config:set --app "$APP_HANDLE" SECRET_KEY="xxx"