This repository has been archived by the owner on May 4, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copied from government-frontend but with the port number changed.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
bundle install | ||
|
||
if [[ $1 == "--live" ]] ; then | ||
GOVUK_APP_DOMAIN=www.gov.uk \ | ||
GOVUK_WEBSITE_ROOT=https://www.gov.uk \ | ||
PLEK_SERVICE_CONTENT_STORE_URI=${PLEK_SERVICE_CONTENT_STORE_URI-https://www.gov.uk/api} \ | ||
PLEK_SERVICE_STATIC_URI=${PLEK_SERVICE_STATIC_URI-assets.publishing.service.gov.uk} \ | ||
PLEK_SERVICE_RUMMAGER_URI=${PLEK_SERVICE_RUMMAGER_URI-https://www.gov.uk/api} \ | ||
bundle exec rails server -p 3011 | ||
elif [[ $1 == "--dummy" ]] ; then | ||
GOVUK_APP_DOMAIN=www.gov.uk \ | ||
GOVUK_WEBSITE_ROOT=https://www.gov.uk \ | ||
PLEK_SERVICE_CONTENT_STORE_URI=${PLEK_SERVICE_CONTENT_STORE_URI-https://govuk-content-store-examples.herokuapp.com/api} \ | ||
PLEK_SERVICE_STATIC_URI=${PLEK_SERVICE_STATIC_URI-assets.publishing.service.gov.uk} \ | ||
PLEK_SERVICE_RUMMAGER_URI=${PLEK_SERVICE_RUMMAGER_URI-https://www.gov.uk/api} \ | ||
bundle exec rails server -p 3011 | ||
else | ||
bundle exec rails server -p 3011 | ||
fi |