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 735d262bb672f9828a2308efd5b9b90be82bf252
tree 8de6357a3a627a372b0dfa02225652aed6ec68f0
parent e9e37d6665781f25d4143b83611cc76534bd242a
tree 8de6357a3a627a372b0dfa02225652aed6ec68f0
parent e9e37d6665781f25d4143b83611cc76534bd242a
git-wiki /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Mar 27 16:36:33 -0700 2008 | [sr] |
| |
.gitmodules | Fri Mar 28 12:15:48 -0700 2008 | [sr] |
| |
LICENSE | Wed Feb 27 09:35:08 -0800 2008 | [sr] |
| |
README.markdown | Sun May 04 04:33:29 -0700 2008 | [sr] |
| |
Rakefile | Sat Jun 07 13:22:47 -0700 2008 | [sr] |
| |
git-wiki.d.in | Fri Jun 06 10:14:47 -0700 2008 | [sr] |
| |
git-wiki.rb | Sat Jun 07 13:22:52 -0700 2008 | [sr] |
| |
public/ | Fri Mar 28 06:22:39 -0700 2008 | [sr] |
| |
vendor/ | Sun May 04 03:59:06 -0700 2008 | [sr] |
README.markdown
git-wiki
git-wiki is a wiki that relies on git to keep pages' history and Sinatra to serve them. See git-wiki's homepage for more informations.
git-wiki relies on the fellowing gems:
- git (the gem, as in
gem install git) - BlueCloth
- rubypants
Sinatra and HAML are vendored as git submodules. To get them, run the fellowing commands :
% cd git-wiki
% git submodule init
% git submodule update
# this step is needed because sinatra itself use git submodule
% cd vendor/sinatra
% git submodule init
% git submodule update
Note that git-wiki is released under the terms of the WTPL so really, you can do what the fuck you want with it.
Tip: run git-wiki as a daemon
Install the gem daemons.
% sudo gem install daemonsCreate a new service (don't forget to modify the path to git-wiki)
% sudo cat > /etc/init.d/git-wiki <<EOF
#!/usr/bin/env ruby
require 'rubygems'
require 'daemons'
Daemons.run('/home/simon/src/git-wiki/git-wiki.rb',
:dir_mode => :system,
:log_output => true,
:mode => :exec
)
EOF
Install it as a boot service. On Ubuntu, run
% sudo /usr/sbin/update-rc.d git-wiki defaults




