-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Get the source
Tip: If you're familiar with forking/cloning repositories via GitHub, you can most of this page and just follow the normal procedure. Once you've got the repository cloned, come back and see about next steps.
Download the source code for the Sagan reference application to your local machine.
Depending on the option you choose below, you'll need a local Git or Subversion installation, or you can simply download and unpack a zip file. The choice is yours, but we recommend the Git-based approach.
The main repository for the Sagan application can be found at https://github.com/spring-io/sagan. You have a few options as to how to sync these sources to your local machine:
The recommended approach is to fork and clone this repository using Git – this will allow you maximum freedom to make changes, commit and push them to your own repository, share with others, and issue pull requests.
If you've forked and cloned repositories on GitHub before, then you'll know what to do.
If this is your first time, or you don't yet have a GitHub account, we recommend you read and follow these instructions:
- https://github.com/join
- https://help.github.com/articles/set-up-git
- https://help.github.com/articles/fork-a-repo
Tip: If you're not a fan of the command line, you may also want to look into GitHub's desktop clients for Mac and Windows.
In any case, the goal is to clone your fork of the main repository, which should look like this:
$ git clone [email protected]:$GHUSER/sagan.git
... where $GHUSER
is your GitHub username.
If you do not wish to create your own fork of the repository, you can always clone the main repo directly:
$ git clone [email protected]:spring-io/sagan.git
Note: This approach does not require you to have a GitHub account; it only requires that you have Git installed.
If using Subversion is more convenient for you than Git, you can check out the sources with the following command:
$ svn checkout https://github.com/spring-io/sagan
Simply download and unpack https://github.com/spring-io/sagan/archive/master.zip in the directory of your choice.
Now that you've got the code, you'll want to learn how to build everything and run the site locally. From there you can explore many other options. Browse the wiki to see what's possible.