Array
University of Oregon

Getting Started with PWS/CF

The cf Command Line Interface (cf CLI) is your primary tool for deploying and managing your applications.

  1. Sign in to PWS.
  2. Install the cf CLI on your computer. Run cf help to confirm that the tool is installed.
  3. Login to PWS/CF from the command line.

    These two forms of the login command are equivalent as a result of  accepting the invitation to join the UO-CIT org:

    cf login -a api.run.pivotal.io -o UO-CIT
    cf login -a api.run.pivotal.io

    Gitbash users: If the above login commands reject your PWS credentials, use this command:

    cf login -u yourUserName@uoregon.edu -p yourPassword

  4. Look over the General Steps to Deploy an Application.

Deploy a Simple App to PWS/Cf

In your Week 9 Lab, you will cover the actual steps to deploy the simple application shown on pp. 233-236 of Learning Web App Dev.

PWS Docs

Cloud Foundry Command Line Interface (CLI)

 

Skip to toolbar