finish Heroku deploy setting
This commit is contained in:
@@ -3,11 +3,11 @@ basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
||||
class Config():
|
||||
DEBUG = True
|
||||
# DEBUG = True
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
||||
# SQLALCHEMY_COMMIT_ON_TEARDOWN = True
|
||||
SQLALCHEMY_RECORD_QUERIES = True
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('TEST_DATABASE_URL') or \
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
|
||||
'sqlite:///' + os.path.join(basedir, 'data.sqlite')
|
||||
ARTICLES_PER_PAGE = 10
|
||||
COMMENTS_PER_PAGE = 6
|
||||
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
-r requirements/common.txt
|
||||
gunicorn==19.4.5
|
||||
psycopg2==2.6.1
|
||||
@@ -13,3 +13,5 @@ Werkzeug==0.11.3
|
||||
wheel==0.24.0
|
||||
flask-login==0.3.2
|
||||
flask-moment==0.5.1
|
||||
ForgeryPy==0.1
|
||||
gunicorn==19.4.5
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
-r common.txt
|
||||
ForgeryPy==0.1
|
||||
|
||||
Reference in New Issue
Block a user