##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.txt
then clone from heroku
heroku git:clone --app APP_NAME
cd APP_NAME
then, 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.db
Dont forget the database part
then run
python phlaskr/seed_db.py
You 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