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 (
Scott Bronson (author)
Wed Apr 23 22:44:35 -0700 2008
agility /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
.gitmodules | Wed Apr 23 15:34:01 -0700 2008 | [Scott Bronson] |
| |
README | Wed Apr 23 15:35:14 -0700 2008 | [Scott Bronson] |
| |
Rakefile | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
app/ | Wed Apr 23 22:44:35 -0700 2008 | [Scott Bronson] |
| |
config/ | Wed Apr 23 15:35:14 -0700 2008 | [Scott Bronson] |
| |
db/ | Wed Apr 23 19:31:42 -0700 2008 | [Scott Bronson] |
| |
doc/ | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
log/ | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
public/ | Wed Apr 23 15:35:14 -0700 2008 | [Scott Bronson] |
| |
script/ | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
test/ | Wed Apr 23 18:54:31 -0700 2008 | [Scott Bronson] |
| |
tmp/ | Tue Apr 22 13:12:54 -0700 2008 | [Scott Bronson] |
| |
vendor/ | Wed Apr 23 19:25:51 -0700 2008 | [Scott Bronson] |
README
== Welcome to Hobostarter
Starting a Hobo project and following upstream changes has never
been so easy.
== Getting Started
There is no need to install Rails or Hobo gems. Just make sure
you have Ruby and Git installed.
If you have a github account, fork Hobostarter and clone that here:
1. $ git clone git://github.com/bronson/hobostarter.git MYAPP
2. $ cd MYAPP
3. $ git submodule init
4. $ git submodule update
That's it. Now start hacking!
=== Pushing Your Changes
If you forked with github, or if you've already set up the origin,
'git push' will work as usual.
However, if your repo considers Hobostarter to be the origin, you
need to reset it to point at yours:
1. $ git config remote.origin.url MYREMOTEURL
2. $ git push origin master
== Submodule Versions
To see what version each module is set to:
1. $ git submodule status
To use a different version (for instance, if Hobostarter ships
with v0.7.3.99, but you you want to use 0.7.3 in your app):
1. $ cd vendor/plugins/hobo
2. $ git checkout v0.7.3
2.1 $ git fetch --tags # optional: fetch all upstream tags
2.2 $ git tag -l # and show them
Now your app is using 0.7.3 locally. If you want to push this
change so that everybody will use 0.7.3, you need to commit it:
3. $ cd ../../..
4. $ git add vendor/plugins/hobo
When others pull, they must call 'git submodule update'.
== Pulling Upstream Changes
Submodules work like any other git repo. Just cd vendor/plugins/hobo
and git fetch as usual.
TODO: say more.
== Modifying Submodules
Always push commits from submodules before pushing commits from the
superproject. Otherwise, if someone clones the superproject, git
will complain that it can't check out the proper version for the
subproject because, of course, you haven't pushed it yet!
TODO: say more.
== Changing the User Name
Hobostarter ships with a user model already created because is what the
vast majority of applications want. However, if your users are called
something different, say admins, you need to revert Hobostarter's commit
and supply your own.
1. $ git revert ":/script/generate hobo_user_model user"
2. $ script/generate hobo_user_model admin
3. $ script/generate hobo_user_controller admin
And commit your changes.
== Author
If you have any questions: bronson on irc.freenode.net #hobo
or brons_hobostarter@rinspin.com




