Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Build HowTo

Tuan Kuranes edited this page Jul 28, 2014 · 3 revisions

OSGJS main build

First, clone a copy of the main git repo by running:

git clone git://github.com/cedricpinson/osgjs.git
cd osgjs
npm install # before you may need to npm install -g grunt-cli
grunt build

The built version of osgjs will be put in the build/ subdirectory.

OSGJS website build

git clone git://github.com/cedricpinson/osgjs.git
cd osgjs
npm install # before you may need to npm install -g grunt-cli
grunt website

What website command does, in order:

  • It builds osgjs
  • git clone the whole osgjs into builds/web as 'gh-page' branch
  • it copies theres the osgjs built
  • build & copy there the documentation
  • builds the website using wintersmith
  • add/commit/push the changes to the "gh-pages" branch of the online github osgjs repository
Clone this wiki locally