A sinatra + bundler + rspec + haml + less starter application
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
features
spec
views
.gitignore
.rspec
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru
sin_x.rb

README.textile

SinX

Description

A small starter app using:

  • sinatra
  • bundler
    • uses a standard Gemfile
    • $ bundle install
  • haml
  • less
    • set :precompiled_css, false to have less compile your css for you on
      every request (this is the default for :development)
    • set :precompiled_css, true to have less use a static, compiled css
      file (this is the default for :production)
  • rspec
    • $ autotest
      • autotest-growl is included
  • cucmber
    • rake features

Currently, specs are used to test the SinX functionality. The only feature
features/example.feature merely proves that rake features works.

Usage

  1. Clone the repository
  2. Run the tests
    • rake spec
    • rake features
  3. Write some cucumber for your specific features
  4. Red, Green, Refactor
  5. Use shotgun to run the app (with code reloading) in dev mode
  6. Use heroku to run your app live

Todo

  1. openid integration, users will be stored in a simple model structure.