Deployment# This section outlines everything you need to know to deploy your Pegasus app to a production cloud server. Deployment Overview Officially supported platforms Other options Heroku Building using Heroku’s Python support Building using Heroku’s Docker container support Configure Django Settings Set up Databases Deploying Setting environment variables Additional settings configuration Running one-off commands Building the front end Celery support Fly.io Prerequisites Setup Deploying Running Database Migrations Settings and Secrets Running One-Off Commands Celery Support Render Prerequisites Deploying Build Script Settings and Secrets Running One-Off Commands Celery Support Troubleshooting Container-based deployment Digital Ocean Prerequisites Deploying Settings and Secrets Running One-Off Commands Celery Support Google Cloud Prerequisites Building images for Google Cloud Settings and Secrets Production checklist Run the Django deployment checklist Set your ALLOWED_HOSTS Update your Django Site Set up email Make sure your secrets are set Sync Stripe data Set up media files Optimize your front end Update other configuration options Troubleshooting Page displaying a 400 Bad Request error page App is online but all styles are broken JavaScript API clients not working Invitation / account emails have the wrong links Stripe callbacks are going to the wrong place