adamgamble / realtime_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RealTime Bot

Pre-requisites

You need RabbitMQ installed and running.

OSX

brew install rabbitmq

Ubuntu

sudo apt-get install rabbitmq-server

Backend

To run the server ...

rake server

Note: must have rabbitmq running

To test the backend ...

rake test

Frontend

To bootstrap the frontend (read, install npm and bower dependencies) ...

rake bootstrap

If you ever see complaints about a dependency being missing for npm or bower, just manually run:

npm install
bower install

Omniscient (Dashboard)

Run in production mode

Visit http://localhost:1234/omniscient in your browser.

Run in development mode (e.g. you are editing code)

Navigate to ./javascript/omniscient and ...

grunt server

This will give you livereload capabilities.

To test in style

If you want to follow our preferred testing style (run your tests after you make changes from within vim), then you need to do two things:

Now you're testing in style!

About


Languages

Language:JavaScript 62.9%Language:PHP 35.5%Language:CSS 1.1%Language:Perl 0.3%Language:Python 0.1%Language:Ruby 0.1%Language:Shell 0.1%Language:Arduino 0.0%Language:CoffeeScript 0.0%Language:Vim Script 0.0%