Skip to content

Instantly share code, notes, and snippets.

@pauldougan
Last active October 3, 2018 20:54
Show Gist options
  • Select an option

  • Save pauldougan/0c3ee5f6c98ce2776e5b1688394530c4 to your computer and use it in GitHub Desktop.

Select an option

Save pauldougan/0c3ee5f6c98ce2776e5b1688394530c4 to your computer and use it in GitHub Desktop.

Run a GOV.UK Prototyping Kit prototype on the GOV.UK PaaS

Prerequisites

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
brew install cf-cli git

Contact the org manager of the gds-design organisation and ask for access

activate the account

Deploy a prototype


git clone https://github.com/alphagov/govuk-prototype-kit.git myprototype
cat<<EOF > myprototype/manifest.yml
---
applications:
- name: myprototype
  memory: 128M
  random-route: true
EOF
cd myprototype

cf login -a api.cloud.service.gov.uk [email protected]
cf t -o gds-design -s prototypes
cf push

cf set-env myprototype USERNAME guest
cf set-env myprototype PASSWORD something_random
cf restart myprototype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment