29c3 hackproject: web server for mroth/lolcommits project
Ruby JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
views
.gitignore
Gemfile
Gemfile.lock
config.example.yml
config.ru
index.rb
readme.md

readme.md

Show Off Lolcommits

Requirements

  • ruby >=1.9.3
  • mongodb
  • The git repository in question has to be a public repository at github
  • on your dev machine: lolcommits (forked, with lolsrv plugin)

Setup

cp config.example.yml config.yml
# edit config.yml, add the repository (e.g. eteubert/lolserver)

bundle install

# start mongodb
mongod

# start sinatra app
rackup -p 9393

Development

There's some tools that are helpful for development. Do not run guard and shotgun at the same time.

shotgun
# Restarts the web server when ruby files are changed

Usage

Receives and displays images from lolcommits project.