This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Carlos Gabaldon (author)
Thu Apr 24 21:14:25 -0700 2008
my_way /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.rdoc | ||
| |
blog.rb | ||
| |
db/ | ||
| |
public/ | ||
| |
views/ |
README.rdoc
My Way - sung by Sinatra
Copyright (c) 2008 Carlos Gabaldon <carlosgabaldon.com>, released under the MIT license project page: http://github.com/CarlosGabaldon/my_way/ project repo: git://github.com/CarlosGabaldon/my_way.git Blog that dances to Sinatra: SQLite: http://www.sqlite.org/ DataMapper: http://datamapper.org/ Sinatra: http://sinatrarb.com/ Haml: http://haml.hamptoncatlin.com/ SASS: http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html
SET THE STAGE
RUBY
$ curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz $ tar xzvf ruby-1.8.6.tar.gz $ cd ruby-1.8.6 $ ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local --enable-shared $ make $ sudo make install $ sudo make install-doc $ ruby -v $ ruby 1.8.6
SQLITE
$ wget http://www.sqlite.org/sqlite-3.5.4.tar.gz $ tar xvfz sqlite-3.5.4.tar.gz $ cd sqlite-3.5.4 $ ./configure --prefix=/usr/local $ make $ sudo make install
GEMS
$ sudo gem install sinatra $ sudo gem install datamapper $ sudo gem install syntaxi $ sudo gem install do_sqlite3 $ sudo gem install rspec $ sudo gem install --no-ri haml
TEXTMATE
$ cd /Applications/TextMate.app/Contents/SharedSupport/Bundles $ svn co "http://macromates.com/svn/Bundles/trunk/Bundles/Ruby Haml.tmbundle"
Dance
$ cd my_way $ ruby blog.rb








