فهرست منبع

testing gunicorn

David Ray 8 سال پیش
والد
کامیت
b0a42a2c4e
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      Procfile
  2. 3 3
      requirements.txt

+ 1 - 1
Procfile

@@ -1,2 +1,2 @@
 release: yes "yes" | python manage.py migrate
-web: uwsgi --http :$PORT --module bakerydemo.heroku_wsgi --master --offload-threads 1
+web: gunicorn bakerydemo.heroku_wsgi --log-file -

+ 3 - 3
requirements.txt

@@ -5,6 +5,6 @@ wagtailfontawesome
 Pillow
 
 # Dependencies for Heroku deployment
-dj-database-url==0.3.0
-whitenoise>=3.1,<4.0
-uwsgi>=2.0,<2.1
+dj-database-url==0.4.1
+whitenoise==3.2.2
+gunicorn==19.6.0