The home/index website for The Labor in Vain, a production company from Chicago, IL.
The blog application (under /blog) is based on Miguel Grinberg's Microblog.
Install and deploy the blog
- get-clone the repo
- cd into the blog root, e.g.
- install the virtual environment:
python3 -m venv venv
- activate the virtual environment:
- install requires:
pip install -r requirements.txt
At this point, you should be able to start the server in dev mode:
If you want to actually deploy the blog, do this:
create a symlink to the Nginx config file in
deploy, e.g. something like this:
ln -s /home/toconnell/thelaborinvain_com/deploy/nginx.conf /etc/nginx/sites-enabled/blog_thelaborinvain_com
do the same thing for the Supervisor config file:
ln -s /home/toconnell/thelaborinvain_com/deploy/supervisor.conf /etc/supervisor/conf.d/thelaborinvain_blog
reload Nginx and Supervisor and you should be good to go!
On Ubuntu/Deb systems, you'll need the
python2-dev package installed on the OS