Back-End Setup: Ubuntu, DigitalOcean, Nginx, Gunicorn

Setting up a server on a digital ocean droplet was pretty easy, with only a few snags along the way. They have a great user interface and provide excellent tutorials to set up anything you need.

First, I followed this tutorial: The tutorial was excellent and I was able to follow along and setup my server with ubuntu 16.04. The only issue I had with the tutorial was the tutorial didn’t explain how to setup key authentication in PuTTY for Windows. To do that, I followed the following tutorial (Use Existing Public and Private Keys): because I had already created the keys on the server. I did have to find the keys and download/copy them to my local machine in order to load them in PuTTYGen and then into PuTTY.

I’m planning on using a Python Falcon framework for my back-end, so I used the following DigitalOcean tutorial to set up a basic Falcon application: This tutorial was easy to follow too, except I was not able to use the cython installation of falcon. For some reason, I kept getting a build error. So instead of using the underlying cython compiler code, I just used the default “pip install falcon” installation of falcon.

After following these tutorials I had a basic falcon app running on my ubuntu server using nginx and gunicorn.

Leave a Comment

Your email address will not be published. Required fields are marked *