Saturday, 29 September 2012

What I learned this week; yui3 src

What I learned this week;

Most importantly, keep a supply of something edible, and more substantial than miso soup, at work!

Also, to setup yui3 from src branch in GitHub and download, then follow these steps.... (if you already have git-core and node installed, just run the last 5 or so commands)

$ apt-get install g++ curl libssl-dev apache2-utils then 
$ apt-get install git-core
$ git clone git://github.com/ry/node.git
$ mkdir ~/nodejs && cd $_
$ wget -N http://nodejs.org/dist/node-latest.tar.gz
$ tar xzvf node-latest.tar.gz && cd `ls -rd node-v*`
$ ./configure
$ make install
$ cd /to/your/yui3/
$ npm install
$ npm -g install selleck
$ cd src
$ selleck --server

All being well you should now have a server running on localhost:3000. To update the build folder cd into the individual src folder and run $ shifter, or cd yui3/src and run $ shifter --walk to do the entire thing.

No comments:

Post a Comment

 

Note: the opinions on this page don't represent that of my employer in anyway. And, actually only vaguely represent my opinions on the date of publication. (Unlike Ms T, I am very much for turning)