Skip to content
A fun realtime demo - see how high you can throw your phone
JavaScript CSS HTML Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
client
config
database/migrations
public
server
.env.example
.gitignore
.gitmodules
.slugignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
karma.conf.js
package.json
rollup.config.js

README.md

Lob - How high can you throw your phone?

Demo: giveitalob.com

Demonstrating realtime connection between web browsers. Powered by Ably, simply better realtime messaging

Installation

Requires Ruby, RubyGems, Node.js and Npm to be installed.

  1. Clone source from github.
git clone git@github.com:CrowdHailer/lob.git
cd lob
  1. Fetch dependencies.
bundle
npm install
git submodule init && git submodule update
  1. Create database, requires postgres to be set up and user and passwords to be set.
createdb lob_development
rake db:migrate:up
  1. Obtain an Ably API key and add to .env. See .env.example for an example of how to configure this file.

  2. Build your assets. npm run build to build and copy assets. If you want the app to rebuild assets automatically, try rerun -d assets,client npm run build.

  3. Run the local version by executing puma. If you want the app to reload automatically when changes are made, try rerun -d config,server puma. The application will the be available on all network interfaces on port 5000.

Tests

Run all the tests through rake and npm.

rake test
You can’t perform that action at this time.