public
Fork of edavis10/git-wiki
Description: A quick & dirty git-powered Sinatra wiki
Homepage: http://atonie.org/2008/02/git-wiki
Clone URL: git://github.com/jeffbski/git-wiki.git
name age message
file .gitignore Thu Feb 21 23:08:55 -0800 2008 hella better style, move page and extensions ou... [Alex Payne]
file .gitmodules Fri Jul 18 07:28:39 -0700 2008 switch to using sinatra submodule so can use my... [Jeff Barczewski]
file AUTHORS Thu Jul 10 10:19:22 -0700 2008 added myself to AUTHORS [Jeff Barczewski]
file LICENSE Thu Mar 06 16:20:07 -0800 2008 merged from sr [schacon]
file README.markdown Tue Aug 26 09:46:12 -0700 2008 updated readme with links for deploying with th... [jeffbski]
file TODO Wed Jul 23 07:27:52 -0700 2008 added page preview [Jeff Barczewski]
directory deploy/ Tue Aug 26 09:23:11 -0700 2008 added sample configuration files for deploying ... [jeffbski]
file environment.rb Wed Jul 23 06:01:11 -0700 2008 switched to maruku for markdown html conversion [Jeff Barczewski]
file extensions.rb Thu Jul 17 22:02:26 -0700 2008 allow wiki names to have periods [Jeff Barczewski]
file git-wiki.rb Wed Jul 23 07:27:52 -0700 2008 added page preview [Jeff Barczewski]
directory images/ Sat Mar 08 12:27:38 -0800 2008 added search through git-grep [schacon]
file page.rb Wed Jul 23 07:27:52 -0700 2008 added page preview [Jeff Barczewski]
directory public/ Wed Jul 23 07:27:52 -0700 2008 added page preview [Jeff Barczewski]
submodule sinatra &rarr b88e74f Fri Jul 18 07:28:39 -0700 2008 switch to using sinatra submodule so can use my... [Jeff Barczewski]
directory system/ Thu Mar 20 09:31:16 -0700 2008 run via launchd on 8777 so as not to conflict w... [al3x]
directory views/ Tue Aug 26 09:19:05 -0700 2008 disable bookmarklet on pages that didn't work p... [jeffbski]
README.markdown

git-wiki

A wiki engine that uses Git repository as its data store and sinatra as its web framework

Required gems

  • sinatra
  • git
  • grit
  • maruku

Required software

  • git

Getting started

export WIKI_HOME=~/mywiki # governs where wiki is stored, defaults ~/wiki
cd git-wiki
git submodule init
git submodule update

cd ./sinatra;
git submodule init
git submodule update
cd ..

ruby git-wiki.rb

Running in production

Running single mongrel

ruby git-wiki.rb -e production [-p 8080] # optionally set port

Using thin, rack, and nginx

See config files on deploy directory and review these links below.