Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 757 Bytes

README.org

File metadata and controls

29 lines (20 loc) · 757 Bytes

Setup

Make a new virtual environment and Install requirements, requires python 2.7

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

deactivate # To deactivate environment after use

To run the server

export FLASK_APP=app.py
flask run

Import the Waste disposal calendar.ics into your calendar. I suggest creating new calendar anywhere because loaded file cannot be unloaded.

Get your referrer url from here: http://www.peelregion.ca/waste-scripts/when-does-it-go/

App was deployed here: https://waste-cal.herokuapp.com/

TODO: Move to Python 3