Skip to content
The home/index website for The Labor in Vain, a production company from Chicago, IL.
Python HTML CSS JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blog
deploy
nginx
v0
v1
.gitignore
LICENSE
README.md

README.md

https://thelaborinvain.com

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

  1. get-clone the repo
  2. cd into the blog root, e.g. thelaborinvain_com/blog
  3. install the virtual environment: python3 -m venv venv
  4. activate the virtual environment: source venv/bin/activate
  5. install requires: pip install -r requirements.txt

At this point, you should be able to start the server in dev mode: ./server.sh dev

If you want to actually deploy the blog, do this:

  1. 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

  2. do the same thing for the Supervisor config file:

    ln -s /home/toconnell/thelaborinvain_com/deploy/supervisor.conf /etc/supervisor/conf.d/thelaborinvain_blog

  3. reload Nginx and Supervisor and you should be good to go!

Notes

On Ubuntu/Deb systems, you'll need the python2-dev package installed on the OS

You can’t perform that action at this time.