public
Fork of jnewland/git-wiki
Description: A wiki engine that uses a Git repository as its data store.
Homepage: http://atonie.org/2008/02/git-wiki
Clone URL: git://github.com/bmizerany/git-wiki.git
bmizerany (author)
Tue Jul 01 12:27:53 -0700 2008
commit  5052780898a887d2e1bd0a01ac43c5622f0f13b9
tree    ee6d31ceece3fc6090e0280fb40cc127da9097e2
parent  5b93557c4194638334783dd02112904e4120202e
name age message
file .gitignore Wed May 14 19:31:48 -0700 2008 merge al3x/master [jnewland]
file .gitmodules Thu Mar 20 00:31:37 -0700 2008 add sinatra as a git submodule and make use of it [al3x]
file AUTHORS Wed May 14 20:10:10 -0700 2008 rework http auth to fit in with al3x's refactoring [jnewland]
file LICENSE Thu Mar 06 16:20:07 -0800 2008 merged from sr [schacon]
file README.textile Wed May 14 20:10:10 -0700 2008 rework http auth to fit in with al3x's refactoring [jnewland]
file TODO Thu May 15 14:22:25 -0700 2008 backlinks [jnewland]
file config.yml.sample Wed May 14 19:17:40 -0700 2008 http auth [jnewland]
file environment.rb Tue Jul 01 12:25:23 -0700 2008 upgrading sinatra and using thin [bmizerany]
file extensions.rb Fri May 16 08:09:15 -0700 2008 <nowiki/> support [jnewland]
file git-wiki.rb Tue Jul 01 12:27:53 -0700 2008 using helpers [bmizerany]
directory images/ Sat Mar 08 12:27:38 -0800 2008 added search through git-grep [schacon]
file page.rb Sat Jun 28 05:18:46 -0700 2008 Added substitution for '<' and '>' to fix... [simo2409]
directory public/ Thu May 15 04:46:44 -0700 2008 attachments in 'show' template [jnewland]
submodule sinatra &rarr 87f8cd3 Tue Jul 01 12:25:23 -0700 2008 upgrading sinatra and using thin [bmizerany]
directory system/ Thu Mar 20 09:31:16 -0700 2008 run via launchd on 8777 so as not to conflict w... [al3x]
directory views/ Sat Jun 28 05:18:46 -0700 2008 Added substitution for '<' and '>' to fix... [simo2409]
README.textile

git-wiki

A wiki engine that uses a Git repository as its data store.

Getting Started

git submodule init

git submodule update

Running

Basics

ruby git-wiki.rb

Options

Run in production

ruby git-wiki.rb -e production

Run in production on port 8777

ruby git-wiki.rb -e production -p 8080

HTTP Basic Auth

cp config.yml.sample config.yml

vim config.yml

CONFIG=config.yml ruby git-wiki.rb -e production -p 8080

Requirements

  • rubygems
  • sinatra
  • grit
  • redcloth
  • rubypants