Skip to content
Tim Ansell edited this page Jan 2, 2014 · 2 revisions

Get the required packages

sudo apt-get update
sudo apt-get install postgresql python-pip python-setuptools gunicorn nginx

Add the users needed to run the website

sudo addgroup --system website
sudo addgroup --system website-run
sudo adduser --ingroup website --shell /bin/bash --disabled-password --disabled-login --system website
sudo adduser --ingroup website-run --shell /bin/bash --disabled-password --disabled-login --system website-run
sudo addgroup website website-run

Add yourself to the website groups

sudo addgroup ubuntu website-run
sudo addgroup ubuntu website
Clone this wiki locally