Skip to content
A Sinatra app with tests and assets
Ruby Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
script
test
views
.gitignore
.ruby-gemset
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
app.rb
config.ru

README.md

Sinatra Template

This simple Sinatra app is designed to be used as a starting point for building a more complex application than the static template.

Setup

  1. Fork this repository.
  2. Clone your fork down onto your machine.
  3. Run script/setup.sh from your project directory.
  4. To start the app, type script/start.sh. To start it on a specific port, run rackup -p <desired-port-number>.

Running Tests

This app comes with Test::Unit installed and configured. You are strongly encouraged to write tests for all the important functionality of your app.

Run rake test from your console in the project directory to run the tests.

Something went wrong with that request. Please try again.