ianonavy ======== Source code for my personal website. Requirements ------------ * python 2.6+ * pip * virtualenv * nginx * supervisord Installing ---------- Exact commands vary with OS. 1. Clone git repository. 2. Create a virtual environment in the same directory, and source the `activate` script. 3. Navigate into the directory and install the required Python packages with `pip install -r requirements.txt`. 4. Symlink or copy the file `conf/nginx.conf` into the nginx configuration directory (e.g. `/etc/nginx/conf.d/ianonavy.conf` for CentOS). 5. Symlink or copy the file `conf/supervisord.conf` into the supervisord configuration directory. 6. Reload the config files of both nginx and supervisord, and ensure that both daemons are running. Note that you probably need to edit the config files to point to the directory in which you cloned this repo as well as the `server_name` for nginx. Updating -------- To update, just run `git pull` in the repository. For the Web service, you may need to instruct supervisord to restart the daemons.