An official website of the United States government US flag signifying that this is a United States Federal Government website

Your first deploy

Your first deploy

To get used to, practice by deploying a simple “hello world” application using the command line interface (CLI).

  1. First, go through account setup (if you haven’t already), so that you’re logged into the CLI and have targeted your sandbox.
  2. Visit this collection of “hello world” applications (tiny sample applications) and use Clone or download to make a copy on your computer. You can download the zip file provided there, or if you use git on the command line, you can enter git clone
  3. Move into that directory, for example: cd cf-hello-worlds
  4. Look at the collection of tiny apps, and cd into the directory for the language/framework you feel most comfortable with. For example: cd python-flask
  5. Deploy the application, where APPNAME should be something unique like FRAMEWORK-YOURNAME (e.g. nodejs-aidan). By default, your APPNAME will become part of the route to make your application publicly reachable, usually or similar, and route names must be unique across the platform.

    cf push APPNAME
  6. You’ll see a series of messages noting the stages of creating the app. When complete, it’ll say “App started” and give information about your app. Use the urls line (urls: [ROUTENAME] to visit your app on the web.

  7. Try editing the app locally (without committing) and run cf push <APPNAME> again to see your changes. The changes will be reflected even without being committed to Git. is not Git-aware – it simply deploys whatever is contained in the directory that you push from. You can set up continuous deployment from a Git repository.

  8. Visit the dashboard ( to see your options for managing your application via your browser.

  9. If you’re done, you can delete your app by running cf delete <APPNAME>

Good to know

Check out Status, which tells you about service disruptions. You can use “Subscribe to Updates” in the upper right corner to get email or SMS notifications about platform problems that may affect users. is based on Cloud Foundry, so in general, the the Cloud Foundry documentation and other Cloud Foundry resources mostly apply to For example, you can also try deploying the sample apps maintained by the Cloud Foundry community.

Next steps

Next, check out Concepts for an overview of terms and architecture. Then, head over to deployment instructions and architecture principles for an introduction to deploying your own applications on