kopia lustrzana https://github.com/wagtail/bakerydemo
restructuring requirements to not pollute non-heroku environments with heroku specific requirements
rodzic
754122a8fb
commit
b40c3da1aa
1
Procfile
1
Procfile
|
@ -1,3 +1,2 @@
|
|||
release: pip install -r requirements_heroku.txt
|
||||
release: yes "yes" | python manage.py migrate
|
||||
web: gunicorn bakerydemo.heroku_wsgi --log-file -
|
||||
|
|
|
@ -53,7 +53,7 @@ With PIP installed run the following commands:
|
|||
|
||||
git clone git@github.com:wagtail/bakerydemo.git
|
||||
cd wagtaildemo
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements/base.txt
|
||||
./manage.py migrate
|
||||
./manage.py load_initial_data
|
||||
./manage.py runserver
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
Django
|
||||
elasticsearch
|
||||
wagtail
|
||||
wagtailfontawesome
|
||||
Pillow
|
||||
-r requirements/heroku.txt
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Django
|
||||
elasticsearch
|
||||
wagtail
|
||||
wagtailfontawesome
|
||||
Pillow
|
|
@ -1,3 +1,4 @@
|
|||
-r base.txt
|
||||
# Additional dependencies for Heroku deployment
|
||||
dj-database-url
|
||||
whitenoise
|
|
@ -25,7 +25,7 @@ su - vagrant -c "echo $PROJECT_DIR > $VIRTUALENV_DIR/.project"
|
|||
su - vagrant -c "$PIP install --upgrade pip"
|
||||
|
||||
# Install PIP requirements
|
||||
su - vagrant -c "$PIP install -r $PROJECT_DIR/requirements.txt"
|
||||
su - vagrant -c "$PIP install -r $PROJECT_DIR/requirements/base.txt"
|
||||
|
||||
|
||||
# Set execute permissions on manage.py as they get lost if we build from a zip file
|
||||
|
|
Ładowanie…
Reference in New Issue