anynines website

Categories

Series

Julian Weber

Published at 11.12.2014

How-To’s & Tutorials

Introduction to the cf command Line

This article is intended for developers new to anynines and Cloud Foundry. We will walk through the typical steps to deploy an application to anynines. You will learn how to use the cf command line tools to interact with the anynines servers._

We assume that you already registered with anynines.com and downloaded and installed the cf CLI tools from here.

Table of Contents

Prerequisites

We created a simple example application for demonstration purposes. Please have a look at it here. It is a small, standard Rails app using ActiveRecord with a MySQL backend.

Let’s clone the application to our local machine:

[bash light=”true”]$> git clone https://github.com/anynines/simple_rails_app.git[/bash]

As we want to dive deeper into the cf command line, we won’t use a deployment manifest in this tutorial. For more information on deployment manifests please refer to our article dedicated to that topic.

Login

Before deploying applications to anynines we need to choose the cloud’s API endpoint and login using our anynines user credentials:

[bash light=”false”]$> cf api https://api.de.a9s.eu

© anynines GmbH 2024

Imprint

Privacy Policy

About

© anynines GmbH 2024