karask / quotes

Sinatra website for quotations demonstrating good MVC structure, build process and management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Simple Sinatra website for quotations demonstrating good MVC structure, build process and management. Added rare dependancy on SQLite for on-the-fly compile and build.

Requires

  • installing rvm properly and as a function (rvm.io)
  • gem install bundler (or rubygems-bundler?)
  • sudo apt-get install libicu-dev (we compile sqlite gem with ICU support)
  • sudo apt-get uninstall libsqlite3-dev (Uninstall existing libsqlite3.so shared library, if any)
  • Need to download the src of sqlite3 to compile with ICU support (for greek collation)
  • Assumes the src of sqlite3 is unzipped at ~/local/lib/sqlite-autoconf-3071602 (modify deploy_and_run_quotes.sh)

Installing for development

$ bundle install --without production

Start

$ thin -R config.ru start

About

Sinatra website for quotations demonstrating good MVC structure, build process and management.


Languages

Language:Ruby 42.4%Language:HTML 32.2%Language:Shell 12.9%Language:CSS 8.9%Language:JavaScript 3.6%