Use gunicorn for running wsgi stuffs

This commit is contained in:
Eryn Wells 2017-09-30 08:31:03 -07:00
parent ca76c99b3d
commit b5a3415cd9
3 changed files with 11 additions and 2 deletions

View file

@ -5,6 +5,8 @@ name = "pypi"
[packages]
flask = "*"
gunicorn = "*"
[dev-packages]

9
Pipfile.lock generated
View file

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "cbf8e638e8cd1a98e1008cd9f9ead22772a784d607fbc4e41b89de5b19011179"
"sha256": "fc6bcc3f38dac1c4bf42afe8a5de1dad9c86746b18a110bbcff9a06910d8e330"
},
"host-environment-markers": {
"implementation_name": "cpython",
@ -43,6 +43,13 @@
],
"version": "==0.12.2"
},
"gunicorn": {
"hashes": [
"sha256:75af03c99389535f218cc596c7de74df4763803f7b63eb09d77e92b3956b36c6",
"sha256:eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622"
],
"version": "==19.7.1"
},
"itsdangerous": {
"hashes": [
"sha256:cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519"

View file

@ -1 +1 @@
web: python3 -m flask run
web: gunicorn tictactoe:app --log-file -