jeffbski / git-wiki forked from edavis10/git-wiki

A quick & dirty git-powered Sinatra wiki

This URL has Read+Write access

Jeff Barczewski (author)
Tue Mar 31 22:24:37 -0700 2009
commit  b7c8b825bc690cf1ab207ee46a1e66170677d328
tree    0eb016e1a39c9b1368ecf15f2f2030a8b33b5e92
parent  f869d20a0c82db8d1ceff238a372df353e902e22
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 Loading commit data...
directory deploy/ Tue Aug 26 09:23:11 -0700 2008 added sample configuration files for deploying ... [jeffbski]
file environment.rb Tue Mar 31 21:13:30 -0700 2009 add ability to detect binary files by known bin... [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 Tue Mar 31 21:13:30 -0700 2009 add ability to detect binary files by known bin... [Jeff Barczewski]
directory images/ Sat Mar 08 12:27:38 -0800 2008 added search through git-grep [schacon]
file page.rb Tue Mar 31 21:57:04 -0700 2009 remove page meta info from top of page before a... [Jeff Barczewski]
directory public/
submodule sinatra - 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/
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.