<commit_before>---
title: Setup
---

## Pivotal Web Services

We will use Pivotal Web Services for this class.

* If you don't have an account, sign up now at: <a href="https://try.run.pivotal.io/homepage" target="_blank">try.run.pivotal.io/homepage</a>
* You will also need the Cloud Foundry command line interface: <a href="https://console.run.pivotal.io/tools" target="_blank">console.run.pivotal.io/tools</a>

If you already have the CLI, be sure you have the most recent version.

### Checking Your Work

Be sure you have correctly installed the cli.  From a terminal window/command prompt:

  ```sh
  cf
  ```

You should see the self documenting help text.  This will be very useful as you go through the class.


## CF Help

If you checked your work, you noticed the CF cli is self documenting.  You can run `cf help` at any time to see a list of commands.  You can also run `cf <SOME_COMMAND> --help` to see the details for a specific command.

### Login & Target

Use `cf login` to target and login to Pivotal Web Services.

> If you are new to PWS, you will notice you are automatically directed to your org and the 'development' space.

#### Checking Your Work
<commit_msg>Make sure people have the latest cf cli<commit_after>---
title: Setup
---

## Pivotal Web Services

We will use Pivotal Web Services for this class.

* If you don't have an account, sign up now at: <a href="https://try.run.pivotal.io/homepage" target="_blank">try.run.pivotal.io/homepage</a>
* You will also need the Cloud Foundry command line interface: <a href="https://console.run.pivotal.io/tools" target="_blank">console.run.pivotal.io/tools</a>

If you already have the CLI, be sure you have the most recent version.

```sh
  cf --version
  cf version 6.21.1+6fd3c9f-2016-08-10
```
If your version is not more recent that this one, please install the latest.

### Checking Your Work

Be sure you have correctly installed the cli.  From a terminal window/command prompt:

```sh
cf
```

You should see the self documenting help text.  This will be very useful as you go through the class.


## CF Help

If you checked your work, you noticed the CF cli is self documenting.  You can run `cf help` at any time to see a list of commands.  You can also run `cf <SOME_COMMAND> --help` to see the details for a specific command.

### Login & Target

Use `cf login` to target and login to Pivotal Web Services.

> If you are new to PWS, you will notice you are automatically directed to your org and the 'development' space.

#### Checking Your Work

{'fraction_non_alphanumeric': 0.0924170616113744, 'fraction_numerical': 0.005924170616113744, 'mean_word_length': 3.743445692883895, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3616047', 'n_tokens_mistral': 775, 'n_tokens_neox': 752, 'n_words': 371}