Developer Area/Getting Code from Git: Difference between revisions
From Mahara Wiki
< Developer Area
Brettwilkins (talk | contribs) (Created page with "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://gitorious.org/maha…") |
No edit summary |
||
Line 6: | Line 6: | ||
git clone git://gitorious.org/mahara/mahara.git | git clone git://gitorious.org/mahara/mahara.git | ||
cd mahara/ | |||
git checkout -b 1.2_STABLE origin/1.2_STABLE | |||
<br /> 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. | <br /> 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. |
Revision as of 13:57, 12 Mayıs 2011
Rather than using a standard release build of Mahara, you can check out the code from our git repository.
git clone git://gitorious.org/mahara/mahara.git
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 http://gitorious.org/mahara/mahara for a list of all branches in our git repository. Example:
git clone git://gitorious.org/mahara/mahara.git cd mahara/ git checkout -b 1.2_STABLE origin/1.2_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.