bmizerany / git-wiki forked from jnewland/git-wiki

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

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file .gitmodules Thu Mar 20 00:31:37 -0700 2008 add sinatra as a git submodule and make use of it [al3x]
file AUTHORS
file LICENSE Thu Mar 06 16:20:07 -0800 2008 merged from sr [schacon]
file README.textile
file TODO Tue Oct 27 18:13:39 -0700 2009 backlinks [jnewland]
file config.yml.sample
file environment.rb
file extensions.rb
file git-wiki.rb
directory images/ Sat Mar 08 12:27:38 -0800 2008 added search through git-grep [schacon]
file page.rb Tue Oct 27 18:13:39 -0700 2009 Added substitution for '<' and '>' to fix edit ... [simo2409]
directory public/
submodule sinatra - 87f8cd3
directory system/ Thu Mar 20 09:31:16 -0700 2008 run via launchd on 8777 so as not to conflict w... [al3x]
directory views/
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