Skip to content

theLaborInVain/thelaborinvain_com

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
v0
 
 
v1
 
 
v2
 
 
 
 
 
 
 
 

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

About

The home/index website for The Labor in Vain, a production company from Chicago, IL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published