anchor.diff:  As a Cloud Foundry user, you have access to one or more organizations and
   spaces.
   
  -## <a id='domain'></a>Step 3: (Optional) Configure Domains ##
  +
  +## <a id='domain'></a>(Optional) Configure Domains 
   
   Cloud Foundry directs requests to an app using a route, which is a URL
   made up of a host and a domain.
  
positive.code: owner: CAPI
  ---
  
  
  
  <p class="note"><strong>Note</strong>: See the <a href="../../buildpacks/">buildpacks</a> documentation for deployment guides specific to your app language or framework, such as the <a href="../../buildpacks/ruby/gsg-ror.html">Getting Started Deploying Ruby on Rails Apps</a> guide.</p>
  
  ## <a id='intro'></a>Overview of Deployment Process ##
  
  You deploy an app to Cloud Foundry by running a `cf push` command from the Cloud Foundry Command Line Interface (cf CLI).
  Refer to the [Installing the cf CLI](../../cf-cli/install-go-cli.html) topic for more information.
  Between the time that you run `cf push` and the time that the app is available, Cloud Foundry performs the following tasks:
  
  * Uploads and stores app files
  * Examines and stores app metadata
  * Creates a "droplet" (the Cloud Foundry unit of execution) for the app
  * Selects an appropriate Diego [cell](../../concepts/architecture/index.html#diego-cell) to run the droplet
  * Starts the app
  
  For more information about the lifecycle of an app, see the <a href="app-lifecycle.html">App Container Lifecycle</a> topic.
  
  An app that uses services, such as a database, messaging, or email
  server, is not fully functional until you provision the service and, if
  required, bind the service to the app.
  For more information about services, see the [Services Overview](../services/index.html) topic.
  
  ## <a id='prepare'></a>Step 1: Prepare to Deploy ##
  
  Before you deploy your app to Cloud Foundry, make sure that:
  
  
negative.code: 
  For more information about the manifest file, see the [Deploying with App Manifests](./manifest.html) topic.
  
  ### <a name='profile'></a>Configure Pre-Runtime Hooks
  
  <p class="note"><strong>Note</strong>: The Java buildpack does not support pre-runtime hooks.</p>
  
  