Quotes is a Sinatra application for browsing and submitting IRC quotes.
JavaScript 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.
db
models
public
views
.gitignore
LICENSE
README.markdown
application.rb
config.ru
database.yml.example
helpers.rb

README.markdown

Quotes

Quotes is a Sinatra application for browsing and submitting IRC quotes. Quotes is designed to be simple and beautiful.

Features

  • Live preview when submitting a quote
  • Voting up and down
  • Consistent, colourised nicknames for enhancing conversation flow
  • Automatic converting for ‘single’ and “double” typographic quotes
  • Compliant XHTML, CSS and unobtrusive JavaScript
  • Small footprint

Dependancies

Required

  • Ruby
  • RubyGems
  • Sinatra (0.9.4)
  • Sequel (3.5.0)

Optional

Quotes is distributed with an SQLite database containing sample data for development.

  • SQLite3
  • sqlite3-ruby (1.2.4)

Setup

Using database distributed with Quotes

Copy database.yml.example and rename database.yml.

New database

Create the database and run the migration.

$ sequel -m db/migrate sqlite:///db/database.db

Copy database.yml.example and rename database.yml. Update database.yml. See Sequel documentation for a valid list of URIs.

development:
  uri: sqlite://db/database.db

Usage

$ ruby application.rb

Authors

License

Quotes is released under the MIT license. See LICENSE.