Casey
Casey

Reputation: 2719

Automate web app setup

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:

  1. Create a Postgres user and grant read only access to the existing database
  2. Create python virtual environment and download git repository into it
  3. Install supervisor and create config file to ensure the app runs without a terminal window and after system restarts

Upvotes: 0

Views: 33

Answers (1)

Related Questions