Skip to content

Commit

Permalink
Enable Review Apps
Browse files Browse the repository at this point in the history
  • Loading branch information
boffbowsh committed Feb 11, 2016
1 parent f276f2e commit 63a8c35
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: GOVUK_ASSET_ROOT=https://${HEROKU_APP_NAME}.herokuapp.com bin/rails server -p $PORT -e $RAILS_ENV
37 changes: 37 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "Government Frontend",
"repository": "https://github.com/alphagov/government-frontend",
"env": {
"GOVUK_APP_DOMAIN": {
"value": "www.gov.uk"
},
"GOVUK_ASSET_ROOT": {
"value": "https://government-frontend.herokuapp.com"
},
"GOVUK_WEBSITE_ROOT": {
"value": "https://www.gov.uk"
},
"PLEK_SERVICE_CONTENT_STORE_URI": {
"value": "https://www.gov.uk/api"
},
"PLEK_SERVICE_STATIC_URI": {
"value": "assets.digital.cabinet-office.gov.uk"
},
"RAILS_SERVE_STATIC_ASSETS": {
"value": "yes"
},
"SECRET_KEY_BASE": {
"generator": "secret"
},
"HEROKU_APP_NAME": {
"required": true
}
},
"image": "heroku/ruby",
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-ruby"
}
],
"addons": []
}

0 comments on commit 63a8c35

Please sign in to comment.