Information for: DEVELOPERS   PARTNERS

Accessing your Acquia Cloud Site Factory repository

Before you begin to develop your websites on Acquia Cloud Site Factory, you must configure your Git repository. Until configured, you cannot access, edit, or update your websites’ codebases.

To prepare your environment for code development, you must first add your SSH key to your Acquia Cloud repository, and then clone your code repository for local work.

Note

For more information about Git, see the online version of Pro Git by Scott Chacon.

Adding your SSH key to your Acquia Cloud profile

Without a SSH key added to your Acquia Cloud profile, you cannot clone down your repository or perform other Git commands against it. For a step-by-step description of adding your SSH key to your profile, see Adding a public key to an Acquia profile.

Cloning your code repository

After you have added your SSH key to the Acquia Cloud interface, you can clone your code from your Acquia Cloud Git repository to your local computer. Your code repository contains a basic Gardens distribution, along with its install files, profile, and required and default modules.

Important

The code distribution provided when a new Acquia Cloud Site Factory account is provisioned should be replaced with the distribution of your choice before development begins.

Create a new folder to contain the code repository, and then run the following command from the folder, replacing [Git_URL] with your Git repository’s URL:

git clone [Git_URL]

Obtaining the Git URL

To obtain your Git repository’s URL, complete the following steps:

  1. Sign in to Acquia Cloud.

  2. Select your subscription, and then go to Cloud > Workflow.

  3. Click Git URL to display a window containing your subscription’s Git URL.

    Git URL button in the Cloud interface

Next step

Before beginning development on your new repository, you should review Git best practices on Acquia Cloud Site Factory