Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

Installation Ubuntu 12.04

Dean Camera edited this page Sep 13, 2015 · 2 revisions

Installation - Ubuntu 12.04

Requirements

Install requirements

sudo apt-get install git nodejs sshpass npm

Install websync

Get websync

cd ~
git clone https://github.com/furier/websync.git
cd websync
npm install
npm install -g bower
bower install

Build websync

//Development
gulp

//Build for production
gulp dist

Run websync

cd dist
node server.js

To use websync goto http://localhost:3000

Depending on how you have configured websync the url above may vary...

Configurations

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.