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 (
commit b1861ceeb17db60ac8bda4af1ec4ca8a0998f2b2
tree 49f75d3e7c2e8fbc31f5ce35e4dd3123a1c42c51
parent 5a434374a86b2d079341da92776b9f0395f02b90
tree 49f75d3e7c2e8fbc31f5ce35e4dd3123a1c42c51
parent 5a434374a86b2d079341da92776b9f0395f02b90
hobocentral / two-minutes.markdown
Hobo in Two Minutes
To build a Hobo app you need to have a working Rails setup. If you can create a Rails app and have it connect to a database, you're all set.
Before we get to Hobo, it's highly recommended to be on the latest version of gem -- 1.2
$ gem -v
If not, OK this might run to three minutes :o). Update gem like this
$ gem update --system
If you haven't already, you need to add the github gem server (for will-paginate)
$ gem sources -a http://gems.github.com
Now install Hobo:
$ gem install hobo
Now create an app! We've only got two minutes so we'll create an ultra-useful Thing Manager.
$ hobo thingybob
...Lots of output as Hobo runs the rails command,
...installs plugins and runs generators
$ cd thingybob
$ ruby script/generate hobo_model_resource thing name:string body:text
$ ruby script/generate hobo_migration
...Respond to the prompt with 'm'
...then press enter to chose the default filename
$ ruby script/server
And browse to
http://localhost:3000
And there is your app! You should be able to
- Sign up
- Create and edit Things
- Search for things
That's it. Why not move on to one of the tutorials.




