Skip to content

Install

hadrienl edited this page Apr 23, 2013 · 1 revision

#Install

Requirements :

Node.js

wget http://nodejs.org/dist/node-v0.4.12.tar.gz
tar xvzf node-v0.4.12.tar.gz
cd node-v0.4.12
./configure
make
sudo make install

NPM

git clone https://github.com/isaacs/npm.git
cd npm
./configure
make
sudo make install

Modules

sudo npm -g install http-proxy
sudo npm -g install [email protected]

Java

sudo apt-get install default-jre

Yuidocjs

git clone https://github.com/davglass/yuidocjs.git
sudo npm -g install .

(http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/29563 can help in case of problems)

You will use it with this command : yuidoc path/to/code -o path/to/doc

Install

The simplest way to start a new application is to use git. You'll can add yoshioka.js as a submodule of your project like that :

$ mkdir mycoolproject
$ cd mycoolproject
$ git init
$ git submodule add git://github.com/hadrienl/yoshioka.js.git

Then launch the server : $ node yoshioka.js

Open your browser to http://yourserver:1636 You'll see that the application is not installed. Return to your console and type : > install

Application is installed. Go back to your browser.

Clone this wiki locally