I created a python flask app that connects to an existing Postgres database and displays reports. I want to deploy the app to multiple Linux virtual machines in a simple way.
What is the best way to do this? The steps involved are:
- Create a Postgres user and grant read only access to the existing database
- Create python virtual environment and download git repository into it
- Install supervisor and create config file to ensure the app runs without a terminal window and after system restarts