I have a running django app with a postgress db. I’m looking for a way to duplicate the app from it’s current state. What I’m looking for is for a way to have test or pre-production environment where I can test things before deploying to the existing one.
Hi! If you mean running a version of your app that connects to the same database, but is used for dev purposes, there isn’t an automated way to do this. Generally you’d just wanna do something like:
# from your project's directory
$ fly apps create my-app-dev
$ fly deploy -a my-app-dev
# if you have any secrets:
$ fly secrets set SECRET=VALUE -a my-app-dev