File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- web : python dpr.py
1
+ web : gunicorn dpr:application
Original file line number Diff line number Diff line change 10
10
application = create_app ()
11
11
12
12
if __name__ == "__main__" :
13
- # from gevent.wsgi import WSGIServer
14
- # http_server = WSGIServer(('', 5000), application)
15
- # http_server.serve_forever()
16
13
port = int (os .environ .get ('PORT' , 5000 ))
17
14
application .run (port = port , host = '0.0.0.0' )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Flask-SQLAlchemy==2.1
4
4
Flask-Markdown == 0.3
5
5
Flask-Gravatar == 0.4.2
6
6
Flask-OAuthlib == 0.9.3
7
- zappa == 0.28.2
7
+ # zappa==0.28.2
8
8
boto3 == 1.4.3
9
9
flasgger == 0.5.13
10
10
python-dotenv == 0.6.0
@@ -17,4 +17,5 @@ blinker==1.4
17
17
enum34 == 1.1.6
18
18
gevent == 1.2.1
19
19
BeautifulSoup == 3.2.1
20
+ # for running on heroku
20
21
gunicorn == 19.7.1
You can’t perform that action at this time.
0 commit comments