Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 1.17 KB

DEPLOY.md

File metadata and controls

23 lines (18 loc) · 1.17 KB
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.

Set up Cloud Foundry on your computer

Follow our documentation, using the information outlined below.

  1. Set up your account by creating an issue in the DevOps issue tracker.
  2. Login using the command cf login -a api.cloud.gov.
  3. Enter your username (GSA email) and password.
  4. A prompt will ask you to choose an org. Select data-act.
  5. Another prompt will ask you to choose a space. Select pilot-dev.
  6. Make sure you're in the app/ folder of the data-act repository.
  7. Build the site using the command cf push data-act-pilot-v2 -d 18f.gov.

Update authorization credentials

  1. Log in.
  2. Set username using the command cf set-env data-act-pilot-v2 WEB_USERNAME '<username>'.
  3. Set password using the command cf set-env data-act-pilot-v2 WEB_PASSWORD '<password>'.
  4. Check if those credentials saved using the command cf restage data-act-pilot.