ianonavy
Source code for my personal website.
Requirements
- python 2.6+
- pip
- virtualenv
- nginx
- supervisord
Installing
Exact commands vary with OS.
- Clone git repository.
- Create a virtual environment in the same directory, and source the
activate
script. - Navigate into the directory and install the required Python packages with
pip install -r requirements.txt
. - Symlink or copy the file
conf/nginx.conf
into the nginx configuration directory (e.g./etc/nginx/conf.d/ianonavy.conf
for CentOS). - Symlink or copy the file
conf/supervisord.conf
into the supervisord configuration directory. - 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.
Description
Languages
SCSS
54.8%
HTML
37.2%
Shell
6.6%
Dockerfile
1.1%
Ruby
0.3%