The Hobo Cook Book, a place to request and post recipes - how-to guides for useing the Hobo framework for Rails
Ruby JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 98 commits behind tslocke:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
gitorials
lib
manual
public
script
taglibs
test
vendor/plugins
.gitignore
.gitmodules
.project
.rvmrc
Gemfile
Gemfile.lock
README
Rakefile
config.ru
server

README

# Hobo Cookbook!

This is the open-source code that implements the site at http://cookbook.hobocentral.net

# How to run locally

The cookbook does not run under Ruby 1.9.2, it requires Ruby 1.8.7.
This should be easy to fix if anybody wants to take a crack at it.

We're using Vlad for deployment, but it messes with our rake tasks at
other times, so the first step is to comment out the call to Vlad.load
in Rakefile.

As for many rails3 apps:

    $ git submodule update --init
    $ vi config/database.yml  # and adjust as required
    $ vi Gemfile # adjust database gems
    $ bundle install
    $ bundle exec rake db:migrate

Unique to the cookbook:

    $ pwd > git-path
    $ echo 'rails3' > git-version

Run this command now and whenever you want to update/rebuild any of the external dependencies such as hobo, the plugins or the tutorials.

    $ bundle exec rake cookbook:update