aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2018-11-02 22:05:04 +0100
committerThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2018-11-02 22:05:04 +0100
commit5f3f28cb1e93cdc92af131e0e2bc0389f66157e7 (patch)
tree6868d5c38cd87c267855beb124f2b33d2e7d2fa5
parent7b57ac37560b743356747a9360667bbbc707ce62 (diff)
Tried using gunicorn.
-rw-r--r--Pipfile1
-rw-r--r--Pipfile.lock10
-rw-r--r--Procfile2
3 files changed, 11 insertions, 2 deletions
diff --git a/Pipfile b/Pipfile
index 793f4ef..d4a143d 100644
--- a/Pipfile
+++ b/Pipfile
@@ -8,6 +8,7 @@ python_version = '3.7'
[packages]
flask = '*'
+gunicorn = '*'
regex = '*'
#textout = { git = 'https://forge.touhey.fr/pc/textout.git' }
diff --git a/Pipfile.lock b/Pipfile.lock
index 0469165..91ae2d6 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256": "aa74ebe5031a6560b95519a3d83a87813f4604d705ff7146652e236386405838"
+ "sha256": "7b11e765f2360742f6308ad957f91dd540eb13dc41b448d8fa3a12abd4532dbd"
},
"pipfile-spec": 6,
"requires": {
@@ -31,6 +31,14 @@
"index": "pypi",
"version": "==1.0.2"
},
+ "gunicorn": {
+ "hashes": [
+ "sha256:aa8e0b40b4157b36a5df5e599f45c9c76d6af43845ba3b3b0efe2c70473c2471",
+ "sha256:fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3"
+ ],
+ "index": "pypi",
+ "version": "==19.9.0"
+ },
"itsdangerous": {
"hashes": [
"sha256:321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19",
diff --git a/Procfile b/Procfile
index 633f292..997bb9f 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: pipenv run flask run --port $PORT
+web: gunicorn app:app --log-file -