Dev build from commandline

./framework/sake dev/build

SilverStripe3.0: Layout

The layout of Silverstripe3.0 is calculated by jLayout— JavaScript Layout Algorithms

Git: Undo a commit

For local commits that haven't yet been pushed:

git reset --soft HEAD^

For pushed commits run the above command, make your changes, then:

git push -f    

Git: Add Upstreams

In terminal:

cd sites/<projectname>

git remote add upstream <git read only URL> && git fetch upstream

(eg: git remote add upstream git://github.com/silverstripe/silverstripe-installer.git && git fetch upstream)

Git: Update from Upstream (for SilverStripe3.0 contributions)

In terminal
git fetch upstream && git checkout master && git rebase upstream/master
git fetch upstream && git checkout 3.0 && git rebase upstream/3.0
git fetch upstream && git checkout 3.1 && git rebase upstream/3.1

Or, on a branch:
git fetch upstream && git rebase upstream/master
git fetch upstream && git rebase upstream/3.0
git fetch upstream && git rebase upstream/3.1

To push the update to your github account:
git push origin master

Install Silverstripe3.0 to Contribute

Fork the repositories

Fork the installer repository:

https://github.com/silverstripe/silverstripe-installer

Fork the framework repository:

https://github.com/silverstripe/sapphire

Fork the CMS:

https://github.com/silverstripe/silverstripe-cms

Fork the Simple theme:

https://github.com/silverstripe-themes/silverstripe-simple

Clone the repositories

In terminal:

git clone git@github.com: <username>/silverstripe-installer.git sites/opensource
cd site...

Install Chosen dependencies and Compile Coffee script

In Terminal:

cd into the directory above the compiled and coffeescript files then run:
npm install -d
in terminal. This will install the dependencies needed to compile Chosen. To compile run either
cake watch
or
cake build

Note: this assumes you already have chosen, and just want to compile it.

For more on coffeescript: http://coffeescript.org/