You can definitely deploy a Django app with Daphne by pointing it at your GitHub repository.
During the setup you will need to configure your environment variables and required databases, after that’s done you can deploy automatically with every code merge or manually with the deploy button.
App Platform can create a dev Postgres instance for you which can be upgraded to production grade later on if necessary. You’ll have to pre-create the Redis server in our Managed Databases section.
Here’s an example spec of a Django app that has a Redis and Postgres DB connected to it:
- environment_slug: python
- key: DATABASE_URL
- key: REDIS_URL
- path: /
run_command: gunicorn --worker-tmp-dir /dev/shm
- cluster_name: my-redis
- cluster_name: my-postgres
You can find this spec in your app/settings/view spec area.