This repository has been archived by the owner on Jun 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Installation Debian 6
furier edited this page Sep 11, 2014
·
1 revision
As root
Install git
apt-get install git-core, sshpass
Clone node.js git repository
cd /home/<username>
git clone https://github.com/joyent/node.git
cd node
Checkout latest stable version
git checkout v0.10.31
Install node
make
make test
make install
Check node is installed correctly
node -v
npm -v
Install some global packages
npm install -g bower
npm install -g gulp
exit
As <username>
Get websync
cd ~
git clone https://github.com/furier/websync.git
cd websync
npm install
bower install
Build websync
// Development
gulp
// Build for Production
gulp dist
cd dist
node server.js
To use websync goto http://localhost:3000
Depending on how you have configured websync the url above may vary...
dist/lib/config/env/*.js
Configure the <environment>.js
file you want to run websync with,
and then set the NODE_ENV
to the appropriate <environment>
name to load the correct configurations.
dist/lib/config/env/all.js
all.js
will load for all environments.