Difference between revisions of "Documentation/Nightly/Developers/Build Instructions/CheckoutSourceCode"
From Slicer Wiki
m |
|||
Line 28: | Line 28: | ||
<li> | <li> | ||
<p>Clone the github repository</p> | <p>Clone the github repository</p> | ||
− | <pre>git clone git://github.com/Slicer/Slicer.git</pre> | + | <pre>cd MyProjects |
+ | git clone git://github.com/Slicer/Slicer.git</pre> | ||
+ | The <code>Slicer</code> directory is automatically created after cloning Slicer. | ||
</li> | </li> | ||
<li> | <li> | ||
<p>Setup the development environment:</p> | <p>Setup the development environment:</p> | ||
− | <pre> | + | <pre>cd Slicer |
+ | ./Utilities/SetupForDevelopment.sh</pre> | ||
<p>For more details see [[Documentation/Nightly/Developers/DevelopmentWithGit | Development With Git]].</p> | <p>For more details see [[Documentation/Nightly/Developers/DevelopmentWithGit | Development With Git]].</p> | ||
</li> | </li> |
Revision as of 20:19, 3 July 2013
Home < Documentation < Nightly < Developers < Build Instructions < CheckoutSourceCode
For the latest Slicer documentation, visit the read-the-docs. |
CHECKOUT slicer source files
Check out the code using git
and configure the git svn
bridge:
-
Clone the github repository
cd MyProjects git clone git://github.com/Slicer/Slicer.git
The
Slicer
directory is automatically created after cloning Slicer. -
Setup the development environment:
cd Slicer ./Utilities/SetupForDevelopment.sh
For more details see Development With Git.
-
Configure the
git svn
bridge to ensure the mapping with svn revision.cd Slicer git svn init http://svn.slicer.org/Slicer4/trunk git update-ref refs/remotes/git-svn refs/remotes/origin/master git checkout master git svn rebase