Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding the defaults for --live #348

Merged
merged 1 commit into from
May 8, 2017

Conversation

boffbowsh
Copy link
Contributor

If you use ./startup.sh --live, you should also be able to override
the locations of static or the content store using the normal
environment variables

If you use `./startup.sh --live`, you should also be able to override
the locations of static or the content store using the normal
environment variables
@boffbowsh boffbowsh temporarily deployed to government-frontend-pr-348 May 8, 2017 12:52 Inactive
PLEK_SERVICE_CONTENT_STORE_URI=https://www.gov.uk/api \
PLEK_SERVICE_STATIC_URI=assets.publishing.service.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} \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've always used :-, and had to look up what omitting the colon meant [1], just commenting for reference.

1: https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

@boffbowsh boffbowsh merged commit dcd1beb into master May 8, 2017
@boffbowsh boffbowsh deleted the allow-override-defaults-for-live branch May 8, 2017 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants