2
0
Эх сурвалжийг харах

Amend procfile to have images on initial Heroku deployment Closes #134

Edd Baldry 8 жил өмнө
parent
commit
9740909755
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Procfile

+ 1 - 1
Procfile

@@ -1,2 +1,2 @@
 release: yes "yes" | python manage.py migrate
-web: uwsgi --http-socket=:$PORT --master --workers=2 --threads=8 --die-on-term --wsgi-file=bakerydemo/wsgi_production.py
+web: uwsgi --http-socket=:$PORT --master --workers=2 --threads=8 --die-on-term --wsgi-file=bakerydemo/wsgi_production.py  --static-map /media/=/app/bakerydemo/media/ --offload-threads 1