-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Favour documentation over scripts/envrc magic
Previously we had some .envrc magic and some scripts for running the app against a paas-cf dev environment and the README was geared towards this. We want to try to stay a little more agnostic about who might be running this (even if it is just us for now). So we will favour adding more generic instructions to the README along with outling the scripts for how to get up and running quickly with GOV.UK PaaS
- Loading branch information
chrisfarms
committed
Dec 12, 2017
1 parent
02bda56
commit 47ddeb1
Showing
4 changed files
with
101 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
export PATH="./bin:$PATH" | ||
export CF_API_ENDPOINT="https://api.${DEPLOY_ENV}.dev.cloudpipeline.digital" | ||
export CF_AUTH_ENDPOINT=$(cf curl /v2/info | jq -r .authorization_endpoint) | ||
export CF_TOKEN_ENDPOINT=$(cf curl /v2/info | jq -r .token_endpoint) | ||
export CF_CLIENT_ID="paas-admin" | ||
export CF_CLIENT_SECRET=$(aws s3 cp s3://gds-paas-${DEPLOY_ENV}-state/cf-secrets.yml - | awk '/uaa_clients_paas_admin_secret/ { print $2 }') | ||
export SKIP_TLS_VERIFICATION="true" | ||
export CONTRACT_TEST_TOKEN=$(cf oauth-token | cut -d ' ' -f2) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.