The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Sssmoke - When even Sinatra is too much

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paolo Perrotta

Posts: 37
Nickname: pperrotta
Registered: Sep, 2009

Paolo Perrotta is a freelance agile coach and the author of "Metaprogramming Ruby" for the Prags
Sssmoke - When even Sinatra is too much Posted: Dec 16, 2012 5:40 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Paolo Perrotta.
Original Post: Sssmoke - When even Sinatra is too much
Feed Title: Duck Typo
Feed URL: http://ducktypo.blogspot.com/feeds/posts/default
Feed Description: This is your brain on software.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Paolo Perrotta
Latest Posts From Duck Typo

Advertisement
Sometimes you don't need a web framework, no matter how light - you just want to slap a Ruby script or two on a web server. Enter Sssmoke:
gem install sssmoke

Put your erb templates in a directory, then run them in a web server by typing:
sssmoke

A template named foo.erb will get the URL http://localhost:8888/foo.

Advanced options for powah usahs:
sssmoke directory_name      # sssmoke templates from another directory
sssmoke template_name.erb # sssmoke a single template at http://localhost:8888/


That's all. (As to the reason why it's called "Sssmoke"- that story would be better told in person.)

Read: Sssmoke - When even Sinatra is too much

Topic: The Amethyst 2 Scratchpad Previous Topic   Next Topic Topic: The New Gist: What It Is and What It Could Be

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use