| 1 |
== Guide to Hacking Gitorious |
| 2 |
|
| 3 |
=== Dependencies |
| 4 |
|
| 5 |
* bluecloth (http://rubyforge.org/projects/bluecloth/) |
| 6 |
* mime-types (http://rubyforge.org/projects/mime-types) |
| 7 |
* oniguruma (http://rubyforge.org/projects/oniguruma) |
| 8 |
** requires the oniguruma C library: (http://www.geocities.jp/kosako3/oniguruma/) |
| 9 |
* textpow (http://rubyforge.org/projects/textpow) |
| 10 |
|
| 11 |
=== The Hackers digest guide: |
| 12 |
|
| 13 |
1. Do the normal rails app stuff (database.yml etc.) |
| 14 |
|
| 15 |
2. Rename the config/gitorious.sample.yml file to gitorious.yml, and update it with your changes. |
| 16 |
|
| 17 |
3a. If you want real project data, find a project, set the 'ready' status to true, create a bare git repository (git --bare init) in the directory GitoriousConfig['repository_base_path']/#{project.slug}/#{repository.name}.git, and push something to that repository (cd to a git repository with commits and do "git push path/to/the/bare/repository/you/just/created master"). |
| 18 |
|
| 19 |
3b. OR run the script/task_performer and let it create the repository for you (remember to do step 2 first) |
| 20 |
|
| 21 |
4. Get your git on! |
| 22 |
|
| 23 |
Consult the mailinglist (http://groups.google.com/group/gitorious) or drop in |
| 24 |
by #gitorious on irc.freenode.net if you have questions. |