This project is set up to use Vagrant to set up a Virtual Machine to work from.
NOTE: You will need to also set up and install the BrowserSwarm repository for this project to work.
- Download and install VirtualBox by clicking here
- Download and install Vagrant by clicking here
- Clone this repository.
- cd web-browserswarm.com/
- vagrant up
- Grab a cup of coffee while you wait for the server to download and install. This will take a little while depending on your internet connection.
- cd web-browserswarm.com/
vagrant up(skip this if Vagrant is already running)vagrant ssh(Log into the Vagrant box)cd /vagrant(Shared directory that maps to the local web-browserswarm.com directory)sails lift(Sails.js command to start the Sails server)- Navigate to http://localhost:1337 The network port from the Virtual Machine is forwarded to your localhost
Browser debugging messages use bows.
For debugging messages to show up on browser console, do in console:
localStorage.debug = trueTo add debugging messages to any part of the code do:
var log = require('bows')('my_module_name');
log('this is a message to be logged');