Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 549 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 549 Bytes

This is the source for https://electioncal.us which provides election timeline information and makes it available through the website and icalendar files.

Building the site

The site is statically hosted by GitHub. To test it locally, first install the python requirements with:

pip install -r requirements.txt

Once those are installed, build the site with:

python scripts/build_site.py

This generates all of files served statically under the site folder. To serve them locally do:

python -m http.server --directory site/ 8080