A quick & dirty git-powered Sinatra wiki
JavaScript Ruby
Pull request Compare This branch is 71 commits ahead, 2 commits behind edavis10:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deploy
images
public
sinatra @ b88e74f
system
views
.gitignore
.gitmodules
AUTHORS
LICENSE
README.markdown
TODO
environment.rb
extensions.rb
git-wiki.rb
page.rb

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.