Skip to content

vprnet/school-closings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VPR's School Closings Page

This project contains the code for VPR's School Closings page.

One-time set-up work:

  1. Make sure you have Python 2.7 installed.
  2. Clone the repo locally. git clone git@github.com:vprnet/school-closings.git
  3. Install pip
  4. Install virtualenv. pip install virtualenv
  5. Create a virtual environment for the app. virtualenv venv
  6. Install the app requirements. pip install -r requirements.txt
  7. Duplicate _config.py as config.py, which will be your private, git-ignored file of keys.
  8. Grab the secret homepage.json file from someone on the VPR team.

Regular updates, start here:

  1. Enter the virtual environment. source venv/bin/activate
  2. To run locally, just hit a quick python app/index.py and head to 127.0.0.1:5000

Pushing to production:

This project runs on a cron job in Webfaction. The cron is currently set to run every ten minutes, pushing up to Amazon S3. To update the production code, SSH into our Webfaction server and update changes to the production code.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •