-
Notifications
You must be signed in to change notification settings - Fork 2
Install
hadrienl edited this page Apr 23, 2013
·
1 revision
#Install
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
git clone https://github.com/isaacs/npm.git
cd npm
./configure
make
sudo make install
sudo npm -g install http-proxy
sudo npm -g install [email protected]
sudo apt-get install default-jre
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
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.