##Flask-Angular-Blog (Example heroku deploy button app)
a fun little blog with a Flask backend and AngularJs frontend. try out the demo app on heroku
or just start the demo on your own heroku account with One Click!
to hack after youve launched, first install everything in a virtualenv:
virtualenv venv
. ./venv/bin/activate
pip install -I -r requirements.txtthen clone from heroku
heroku git:clone --app APP_NAME
cd APP_NAMEthen, just create a file called local_settings.py and just add a class for your sensitive settings ie:
class LocalConfig(object):
SECRET_KEY = 'somesecret'
DATABASE_URI = 'sqlite:///test.dbDont forget the database part
then run
python phlaskr/seed_db.pyYou setup you DATABASE_URI earlier right?
ok... then, (as long as you installed everything inside of a virtualenv (lets hope so) ) to get things started you just need to run:
honcho -f localProcfile start local