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.
- 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)
$ bundle install --without production
$ thin -R config.ru start