Skip to content

florije1988/flask-angular-blog-example

 
 

Repository files navigation

##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! Deploy

####TravisCI Build Status

Build Status

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

About

example heroku app, with flask and angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.1%
  • Python 19.3%
  • HTML 13.5%
  • CSS 1.6%
  • Other 0.5%