Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make the README useful.

  • Loading branch information...
commit c551afcdb82b097c9f1cb060856498b6896fa50a 1 parent 63ff8d3
@bryanlarsen bryanlarsen authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 README
View
25 README
@@ -2,3 +2,28 @@
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
+ $ bundle install
+ $ vi config/database.yml # and adjust as required
+ $ 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
+
Please sign in to comment.
Something went wrong with that request. Please try again.