2
0
David Ray 8 жил өмнө
parent
commit
d2727e9318
3 өөрчлөгдсөн 8 нэмэгдсэн , 0 устгасан
  1. 1 0
      Procfile
  2. 2 0
      readme.md
  3. 5 0
      requirements.txt

+ 1 - 0
Procfile

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

+ 2 - 0
readme.md

@@ -1,3 +1,5 @@
+[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/wagtail/bakerydemo)
+
 Wagtail demo project
 =======================
 

+ 5 - 0
requirements.txt

@@ -3,3 +3,8 @@ elasticsearch
 wagtail
 wagtailfontawesome
 Pillow
+
+# Dependencies for Heroku deployment
+dj-database-url==0.3.0
+whitenoise>=3.1,<4.0
+uwsgi>=2.0,<2.1