anchor.diff:  Run `git clone https://github.com/cloudfoundry-samples/rails_sample_app` to clone `rails_sample_app` from GitHub.
   
   ### <a id='sample-step2'></a>Step 2: Login to <%=vars.product_short%> and Target the API Endpoint   ###
  -Run `cf login -a [API_ENDPOINT]`, enter your login credentials, and select a space and org. 
  -
  -For more information about determining the API endpoint, refer to the <%=vars.gen_GSG%> 
  +Run `cf login -a [API_ENDPOINT]`, enter your login credentials, and select a space and org. The API endpoint is <%=vars.api_endpoint%>.
   
   ### <a id='sample-step3'></a>Step 3: Deploy the Sample App to <%=vars.product_short%> ###
   
  
positive.code:     - rails-postgres
  </pre>
  
  You can also bind a service using the CLI <%=vars.dev_console_2%>.
  
  ### <a id='yourapp-step5'></a>Step 5: Login to <%=vars.product_short%> and Target the API Endpoint   ###
  Run `cf login -a [API_ENDPOINT]`, enter your login credentials, and select a space and org.
  
  For more information, refer to the <%=vars.gen_GSG%> 
  
  ### <a id='yourapp-step6'></a>Step 6: (Optional) Configure a Production Server  ###
  
  
negative.code: 
  Run `cf help` to view a complete list of commands, grouped by task categories, and run `cf help COMMAND` for detailed information about a specific command. For more information about using the `cf` CLI, refer to the cf Command Line Interface (CLI) topics, especially the <%=vars.cli_v6%> topic.
  
  <p class="note"><strong>Note</strong>: You cannot perform certain tasks in the CLI <%=vars.dev_console_2%> because these are commands that only a <%=vars.product_short%> administrator can run. If you are not a <%=vars.product_short%> administrator, the following message displays for these types of commands: 
  
  <code>error code: 10003, message: You are not authorized to perform the requested action</code>
  
  <%=vars.dev_console_note%> 
  </p>
  
  ## <a id='troubleshoot'></a>Troubleshooting ##
  If your application fails to start, verify that the application starts in your local environment. Refer to the [Troubleshooting Application Deployment and Health](./../../devguide/deploy-apps/troubleshoot-app-health.html) topic to learn more about troubleshooting.
  
  ### <a id='deploy-fails'></a>App Deploy Fails ###
  Even when the deploy fails, the app might exist on <%=vars.product_short%>. Run `cf apps` to review the apps in the currently targeted org and space. You might be able to correct the issue using the <%=vars.dev_console_2%>, or you might have to delete the app and redeploy.
  
  Common reasons deploying an app fails include:
  
  * You did not successfully create and bind a needed service instance to the app, such as a PostgreSQL or MongoDB service instance. Refer to [Step 3: Configure a Service Instance for Your RoR Application](#yourapp-step3) and [Step 4: Configure the Manifest File](#yourapp-step4).
  * You did not successfully create a unique URL for the app. Refer to the troubleshooting tip App Requires Unique URL.
  
  ### <a id='unique-url'></a>App Requires Unique URL ###
  