title |
---|
Deploy DATA Act pilot app to Cloud Foundry |
These instructions are for the 18F team. They explain how to deploy the DATA Act pilot to Cloud Foundry. The following steps are best done through the command line.
Follow our documentation, using the information outlined below.
- Set up your account by creating an issue in the DevOps issue tracker.
- Login using the command
cf login -a api.cloud.gov
. - Enter your username (GSA email) and password.
- A prompt will ask you to choose an org. Select
data-act
. - Another prompt will ask you to choose a space. Select
pilot-dev
. - Make sure you're in the
app/
folder of the data-act repository. - Build the site using the command
cf push data-act-pilot-v2 -d 18f.gov
.
- Log in.
- Set username using the command
cf set-env data-act-pilot-v2 WEB_USERNAME '<username>'
. - Set password using the command
cf set-env data-act-pilot-v2 WEB_PASSWORD '<password>'
. - Check if those credentials saved using the command
cf restage data-act-pilot
.