Difference between revisions of "Developer Area/Getting Code from Git"

From Mahara Wiki

< Developer Area
(Moved "Setting up gerrit" to Developer Area/Pushing Git Commits)
(Redirected page to Developer Area/Source code)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== First steps ==
#REDIRECT [[Developer Area/Source code]]
Rather than using a standard release build of Mahara, you can check out the code from our git repository.
<span id="repo-16111-git-url"><code>git clone git://</code>    </span>
If you check the project out from git, you have the option of checking out a specific feature branch of Mahara, if you're interested in one in particular. See for a list of all branches in our git repository. Example:
git clone git://
  cd mahara/
  git checkout -b 1.3_STABLE origin/1.3_STABLE
Once you've got the code from git, you should point your webserver at the htdocs directory if you want to run it.  You can update the code by running the "git pull" command from anywhere inside your checkout.
== Submitting the code for review ==
If you have developed a useful feature or fixed the bug, you may contribute it to Mahara by [[Developer_Area/Pushing_Git_Commits|submitting your code for revision]].
[[Category:Developer Area]]

Latest revision as of 11:43, 22 October 2014