- Python (virtualenv/pip)
- Redis
DO NOT UPDATE SCIPY/NUMPY versions - Heroku buildpack (https://github.com/thenovices/heroku-buildpack-scipy) is locked at this version
source bin/venv/activate
pip install -r requirements.txt
foreman start
http GET localhost:5000/clear_cache Authorization:abcd
(If have caching set up)deactivate
Use a different Authorization header if you change it
# Uses httpie
http POST 'http://localhost:5000/calc' asset_ids:='["INTL-STOCK", "COMMODITIES", "US-LGCAP-STOCK"]' 'Authorization: abcd'