How to duplicate a running app?

Hello all,

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.

Thank you all in advance :wink:

1 Like

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
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.