Skip to content
installing a Flask webapp on a Digital Ocean (or Linode, etc.) Ubuntu box
Python HTML CSS Shell
Branch: master
Clone or download
Pull request Compare This branch is even with jabbalaci:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
home/demo/projects/ave_caesar
.gitignore
LICENSE
README.md
ubuntu_14_04.md
ubuntu_16_04.md

README.md

Installing a Flask webapp on a Digital Ocean VPS (or Linode, etc.)

Here I sum up how to install a Flask webapp on a Digital Ocean VPS that has Ubuntu Linux on it. The following topics will be covered:

  • server configuration
  • the big picture
  • Nginx
  • a simple Flask app in a virtual environment served by gunicorn
  • gunicorn is started automatically upon boot

Originally I wrote these notes for Ubuntu 14.04, but later it was updated for Ubuntu 16.04. Both versions are available:

You can’t perform that action at this time.