anchor.diff:  - How app URL endpoints are generated in CF.
   - Adding a service instance (A postrgres database, in this example).
   
  -## Prerequisites
  +##<a id='prerequisites'></a>Prerequisites ## 
   
  -- A working CF deployment. See [Deploying CF Using Bosh Lite](http://docs.cloudfoundry.org/deploying/boshlite/deploy_cf_boshlite.html).
  +- A working CF deployment. See [Deploying CF Using BOSH-Lite](http://docs.cloudfoundry.org/deploying/boshlite/deploy_cf_boshlite.html).
   - [Cloud Foundry CLI](http://docs.cloudfoundry.org/devguide/installcf/install-go-cli.html)
   - Username and password with **Space Developer** permissions. See [Roles and Permissions](../../concepts/roles.html#space-roles) for more information.
   
  -### Step 1: Clone the App ###
  +##<a id='clone'></a>Step 1: Clone the App ##
   
  -Run the following in the terminal to clone the `rails_sample_app` from GitHub:
  +1. In a terminal window, use <code>git clone</code> to create a local copy. 
   <pre class='terminal'>
  -	git clone https://github.com/cloudfoundry-samples/rails_sample_app
  +	$ git clone https://github.com/cloudfoundry-samples/rails_sample_app
   </pre>
   
  -Change into the rails\_sample\_app directory and examine its contents. The release contains a very simple Ruby on Rails app with the single addition of the application manifest `manifest.yml`, which allows CF to deploy the app. For more about application manifests, see [Deploying with Application Manifests](https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#minimal-manifest).
  +1. Navigate to the rails\_sample\_app directory and examine its contents. The release contains a very simple Ruby on Rails app with the single addition of the application manifest `manifest.yml`, which allows CF to deploy the app. For more about application manifests, see [Deploying with Application Manifests](https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#minimal-manifest).
   
   <pre class='terminal'>
   ~/workspace/rails_sample_app $ ls
  
positive.code: 
  </pre>
  
  ### Step 5: Verifying the app ###
  
  You can verify the sample app you have pushed by browsing to the URL generated in the output of the previous step. In this example, the url is `urls: my-app.<%=vars.app_domain%>`.
  
  
negative.code:   OK
    </pre>
  
  Our service instance is `rails-postgres`. It uses the `elephantsql` service and the `turtle` plan.
  
  
    The manifest for the sample app contains a `services` sub-block in the `applications` block, as the example below shows. This binds the `rails-postgres` service instance you created in the previous step.
  
  	<pre class="terminal">
  	---
  	applications:
  	- name: rails-sample
  