rprimus / sinatra-up-and-running-in-slim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sinatra: Up and Running Hands On (in Slim)

Here is the incomplete (not using git module) of the hand's on blog project from the final chapter in Sinatra

I've chosen to implement this using slim as slim is the template system I intend to use going forward.

The trickiest part to convert was the index page as

  • blocks cannot be used and
  • '-' not '==' should be used for any statement containing 'do'

Helper script

A helper script launch.rb has been created to start the blog:

ruby launch.rb

to get started.

About


Languages

Language:Ruby 94.9%Language:JavaScript 5.1%