If you want to use this fork of git-wiki, you need to know following.
First of all, it uses
wiki.yaml configuration file placed in
user's home directory who will run this application.
Here is an example of wiki.yaml:
wiki_repo_path : /Users/cr0t/tmp/wiki_repo use_ga_tracking : false ga_account : UA-*******-** show_contents : false show_tree : true show_fb : true show_tweet : true show_evernote : true show_plusone : true show_last_edits : false logo_text : just-a-wiki users: - username : admin password : uoWeix3c - username : moderator password : xooQu1xe
Next you need to create
wiki also in the user's home directory
and initialize empty git repo in it:
$ cd ~ $ mkdir wiki $ cd wiki $ git init
That is all! You can use Passenger or Unicorn to run this application.
To develop this fork, use
$ sudo gem install shotgun $ shotgun config.ru
If you are using UTF-8 filenames in the git repository you can get something like that "\320\257..." instead of normal filenames in the 'Latest changes' section on the main page. You need to add
"core.quotepath = false" option to gitconfig file:
$ git config core.quotepath false
The text below is the original README from git-wiki project.
git-wiki: because who needs cool names when you use git?
git-wiki is a wiki that relies on git to keep pages' history and Sinatra to serve them.
I wrote git-wiki as a quick and dirty hack, mostly to play with Sinatra. It turned out that Sinatra is an awesome little web framework and that this hack isn't as useless as I first though since I now use it daily.
However, it is definitely not feature rich and will probably never be because
I mostly use it as a web frontend for
The fellowing gems are required to run git-wiki:
mkdir ~/wiki && (cd ~/wiki && git init) && ./run.ru -sthin -p4567
and point your browser at http://0.0.0.0:4567/. Enjoy!
- How to use vim to edit <textarea> in lynx
- WiGit think git-wiki except implemented in PHP
- ikiwiki is a wiki compiler supporting git
[...] the first wiki engine I'd consider worth using for my own projects.
Oh, it looks like Git Wiki may be the starting point for what I need...
What makes git-wiki so cool is because it is backed by a git store, you can clone your wiki just like you could any other git repository. I’ve always wanted a wiki that I could a.) pull offline when I didn’t have access to the Internets and b.) edit (perhaps in bulk) in my favorite text editor. git-wiki allows both.
Numerous people have written diff and merge systems for wikis; TWiki even uses RCS. If they used git instead, the repository would be tiny, and you could make a personal copy of the entire wiki to take on the plane with you, then sync your changes back when you're done.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2008 Simon Rozet <firstname.lastname@example.org> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.