Skip to content

Latest commit

 

History

History
 
 

Sheldonisms_Database

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Sheldonisms Database

A scheduled job that keeps sheldonism's database updated

To setup a database

Follow this link : http://blog.y3xz.com/blog/2012/08/16/flask-and-postgresql-on-heroku

Environment Variables for heroku

DB_URL = token from heroku postgres database credentials
SQLALCHEMY_TRACK_MODIFICATIONS = true

Note: you have to run Python from heroku and initialize your database as follows

from app import db
db.create_all()

Sheldonisms is participating in Kharagpur Winter of Code 2016. Join this Facebook group to ask doubts and discuss.