Skip to content

Commit

Permalink
Merge 9ba97b7 into 818d5e4
Browse files Browse the repository at this point in the history
  • Loading branch information
solnsubuga committed Aug 6, 2018
2 parents 818d5e4 + 9ba97b7 commit e0a7666
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: invoke migrate-db
release: bash ./release.sh
web: gunicorn wger.wsgi:application

30 changes: 29 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@
{
"name": "wger-bs-staging",
"scripts": {},
"env": {},
"env": {
"DB": {
"required": true
},
"DATABASE_URL":{
"required": true
},
"DISABLE_COLLECTSTATIC": {
"required": true
},
"SOCIAL_AUTH_FACEBOOK_KEY": {
"required": true
},
"SOCIAL_AUTH_FACEBOOK_SECRET": {
"required": true
},
"SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": {
"required": true
},
"SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET": {
"required": true
},
"SOCIAL_AUTH_TWITTER_KEY": {
"required": true
},
"SOCIAL_AUTH_TWITTER_SECRET": {
"required": true
}
},
"formation": {
"web": {
"quantity": 1
Expand Down
3 changes: 3 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
invoke bootstrap-wger --settings-path ./settings.py --no-start-server
python manage.py makemigrations --merge
python manage.py migrate

0 comments on commit e0a7666

Please sign in to comment.