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

Installation OS X

Sander Struijk edited this page Apr 20, 2015 · 8 revisions

Installation - OS X

Requirements

Install requirements

brew install git
brew install node
brew install ssh-copy-id
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

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.

Clone this wiki locally