Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.03 KB

Livewires website

This is the code that powers our website:


For team to update the website:

Hosted with Netlify

Netlify Status

When a pull request is merged, Netlify will automatically rebuild and deploy the website.

Local development

When you open a pull request, Netlify will automatically build a "deploy preview" containing your changes.

To set up a virtual Python environment

Make sure you have Python 3 installed (e.g. via Homebrew).

Make sure you have Virtualenv installed, e.g.

$ pip3 install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

To build the site

$ venv/bin/python build.py

It will output into _site/.

To watch for file changes

$ venv/bin/python build.py -w

The builder will rebuild each file when it is requested.