Skip to content
Ryan Rauh edited this page Feb 4, 2014 · 1 revision

How To Run Locally

Install Dependencies

gem install bundler
bundle install

Install vagrant

Download vagrant and install it along with vmware or virtualbox

librarian-chef install
vagrant up 
vagrant ssh
cd /vagrant
bundle exec shotgun -o 0.0.0.0

vagrant up couch will create and provision a vm with couchdb and memcached installed and configured properly

Register App For Github OAuth

Go to https://github.com/settings/applications and register your application to get the application keys needed for OAuth.

  • Homepage URL: Rack: http://localhost:9393
  • Callback: Rack: http://localhost:9393/

Configure Your App

cp .env.sample .env

Edit .env to set the Client ID and Client Secret provided by Github when you registered the application.

Spin up a rack server (flavor of your choice)

Note: only if you prefer to work locally

bundle exec shotgun

Developing Javascript locally

The new HuBoard UI is built using emberjs and using ember-tools to build the UI's javascript files. In order to develop locally you will need to have ember-tools watch the files and build it automatically

cd ember npm install ember-tools ember build -w

Clone this wiki locally