Project

General

Profile

Actions

Application version management » History » Revision 1

Revision 1/5 | Next »
Herve Caumont, 2013-10-03 10:50


Application version management

Application version management benefits from different tools available from a Developer Cloud Sandbox.

Using Git

Git is a distributed version control and source code management system with an emphasis on speed.
Every Git working directory is a full-fledged local repository with complete history and full version tracking capabilities, and thus not dependent on the network or a central server.

We will describe here how to setup a Git working copy of an application folder, locally to a Sandbox, and how to push it to a GitHub code repository, for application sharing and collaborative development environment on the Web.

GitHub (http://github.com) is a web hosting service for software development projects, that uses the Git version control system. The service provides social networking tools such as feeds, watchers, and a social network graph to visualize how developers exploit their versions of a repository.

Step by step with Git

To add your Application in the sandbox's Git version control system:

[user@sb ~]$ cd ~/application/
[user@sb ~]$ git add application.xml yourSubFolder1/ 

As a result, this is adding (referencing) file contents to the Git index.

To commit your Application in the sandbox's Git version control system:

[user@sb ~]$ cd ~/application/
[user@sb ~]$ git commit

As a result, this is recording changes to the Git repository.

To push your application on the web, on a dedicated GitHub repo (here a GitHub private repo provided by Terradue to Sandbox users, https://github.com/Terradue/geowow-1):

[user@sb ~]$ cd ~/application/
[user@sb ~]$ git clone git@github.com:Terradue/geowow-1 application/

You'll have to give your certificate passphrase

As a result, this is cloning your Sandbox's Git repository to the web-based GitHub repository "geowow-1", under an "application" folder.

Using Hadoop runs folders

Upcoming!

Updated by Herve Caumont about 11 years ago · 1 revisions