public
Fork of al3x/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/jnewland/git-wiki.git
Search Repo:
jnewland (author)
Fri May 16 08:09:15 -0700 2008
commit  8cdece415247824a970be3d368891b7724293bab
tree    8991d38227b3cd969f76abe8dcb006f3c7524451
parent  b1ef6a089ae969528599728df4cf6685b79f1a62
name age message
folder .gitignore Wed May 14 19:31:48 -0700 2008 merge al3x/master [jnewland]
folder .gitmodules Thu Mar 20 00:31:37 -0700 2008 add sinatra as a git submodule and make use of it [al3x]
folder AUTHORS Wed May 14 20:10:10 -0700 2008 rework http auth to fit in with al3x's refactoring [jnewland]
folder LICENSE Thu Mar 06 16:20:07 -0800 2008 merged from sr [schacon]
folder README.textile Wed May 14 20:10:10 -0700 2008 rework http auth to fit in with al3x's refactoring [jnewland]
folder TODO Thu May 15 14:22:25 -0700 2008 backlinks [jnewland]
folder config.yml.sample Wed May 14 19:17:40 -0700 2008 http auth [jnewland]
folder environment.rb Wed May 14 20:10:10 -0700 2008 rework http auth to fit in with al3x's refactoring [jnewland]
folder extensions.rb Fri May 16 08:09:15 -0700 2008 <nowiki/> support [jnewland]
folder git-wiki.rb Thu May 15 14:22:11 -0700 2008 fix bookmarklet [jnewland]
folder images/ Sat Mar 08 12:27:38 -0800 2008 added search through git-grep [schacon]
folder page.rb Fri May 16 08:09:15 -0700 2008 <nowiki/> support [jnewland]
folder public/ Thu May 15 04:46:44 -0700 2008 attachments in 'show' template [jnewland]
folder sinatra &rarr 898b36e Sun Apr 20 18:52:30 -0700 2008 merge changes from schacon [al3x]
folder system/ Thu Mar 20 09:31:16 -0700 2008 run via launchd on 8777 so as not to conflict w... [al3x]
folder views/ Thu May 15 14:22:25 -0700 2008 backlinks [jnewland]
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