Knowledge Base/Engine Yard Cloud Documentation/Get Started

Host Your Code on GitHub

Engine Yard
posted this on February 16, 2012 10:02 AM

Updated: November 13th, 2013

After you have created your application, place your code in a git repository. You have options on where to host your code, but the simplest is hosting it on GitHub. This page describes how to host your code on GitHub.

To host your code on GitHub

  1. Create a GitHub account.
  2. After logging in, create a new repository. (Click New repository.)

  3. Give your project a name and description and click Create Repository.

  4. Follow the GitHub instructions to connect your local git repository with your GitHub repository.
    Note: If your code is in a Subversion (SVN) repository, see GitHub:Help Import from Subversion.

    GitHub instructions 2012

    After you have completed the GitHub, your application code is stored remotely on GitHub. Whenever you make any local changes in your git repository and want to have it pushed to your remote GitHub repository, type git push while inside of your local repository; git will push your newly committed code to GitHub.

Important! Make sure to put your application root directory at the root level of your git repository. Don’t put it in a subdirectory. (The application root directory is the one that contains the app, config, and public directories.)

More information

For more information                       See...

Setting up your local machine                                                    

Set up your local environment.
hosting your code on GitHub           this Spanish translation of the Host your Code on GitHub tutorial, courtesy of Mario Alberto Chavez Cardenas of Decisiones Inteligentes.

If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.