GetTheCode

From Sirikata Wiki
Revision as of 22:57, 9 June 2009 by Ewencp (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Browsing the Code

Our project is hosted in a GitHub repository. You can browse the source online by visiting the Sirikata project page.

Getting the Full Tree

Get git

We use git for source code version control. First be sure that you have git installed. You can find packaged and source downloads for all platforms here. On Windows you most likely want to install the msysgit variant. On Linux you can likely use a package directly from your distribution.

If you want to develop Sirikata you should familiarize yourself with git. Git's documentation page provides a lot of good starting points.

Check out the code

If you're checking out the code anonymously, use the public clone url. Move to where you want to check out the code and issue the command

 git clone git://github.com/sirikata/sirikata.git [dest_directory]
 cd dest_directory   # will be sirikata if dest_directory was not provided
 git submodule init
 git submodule update

If you are a developer, you can use the secure clone URL. Once you have given GitHub your public key for authentication, you can issue the command.

 git clone git@github.com:sirikata/sirikata.git [dest_directory]
 cd dest_directory   # will be sirikata if dest_directory was not provided
 git submodule init
 git submodule update

In this case you will also be able to push your results back to our repository.

You should now have all the code in a directory called sirikata. Now you probably want to build it.