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 Aug 26, 2014 · 8 revisions

Installation - OS X

Requirements

Instructions

Install requirements

brew install git
brew install node
brew install ssh-copy-id
brew install https://raw.github.com/eugeneoden/homebrew/eca9de1/Library/Formula/sshpass.rb

Install websync

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

Run websync

//Development
gulp

//Build for production
gulp dist
cd dist
node server.js

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