Step 1: Clone the sample Goof application

Prepare the Sample Application

A sample application, called Goof, is provided for this workshop as a GitHub template. Navigate to the GitHub Repo for the Goof application and click “Use this Template” to create a copy of the Repo to your personal GitHub account.

Be sure to name the new Repo goof otherwise things will break later on.

gh-template

To copy-paste the commands in the instructions set an environment variable with your GitHub ID. Your GitHub ID is displayed in the upper right corner in GitHub.com.

gh-id

GithubId=<your_github_id>

After you create the Repo, clone the Repo to your Cloud9 environment by using the git clone command. Once the clone completes, change to the repo’s top level directory.

git clone https://github.com/$GithubId/goof && cd goof

This copies the Repo files to your Cloud9 environment.