Project

coffeeshop

0.0
No commit activity in last 3 years
No release in over 3 years
coffeeshop is a quick and dirty Sinatra app that serves up any CoffeeScript in a directory as JavaScript. It uses Redis for basic caching because that's how I roll.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

coffeeshop

coffeeshop is a simple Sinatra app that serves up all CoffeeScript files in a directory as JavaScript. For example, if you had /my/project/src/rad.coffee, and ran coffeeshop in /my/project you could hit http://localhost:4567/src/rad.js and it will be served up as JavaScript.

coffeeshop uses Redis for simple 1-hour caching of the generated JavaScript to keep things snappy.

Usage

> gem install coffeeshop
> cd /my/project/
> coffeeshop

coffeeshop accepts the usual Sinatra options:

-p port                          set the port (default is 4567)
-o addr                          set the host (default is 0.0.0.0)
-e env                           set the environment (default is development)
-s server                        specify rack server/handler (default is thin)
-x                               turn on the mutex lock (default is off)