Small plugin to integrate a wiki in your website.
- Rails >= 2.3
- RedCloth (developed with 3.0.4/4.1.9/4.2.2)
gem install RedCloth
And add the following to yourconfig/environment.rb
config.gem 'RedCloth', :lib => 'redcloth', :version => '~> 4.2.2'
./script/plugin install git://github.com/tompesman/mini_wiki.git
./script/generate mini_wiki
rake db:migrate
./script/server
- go to
http://0.0.0.0:3000/mini_wiki/
you can add the map.root
map.root :controller => "mini_wiki"
It’s possible to add some security to the wiki. Edit the mini_wiki_override.rb
in the lib directory. The mini_wiki_authorized
method should return a boolean
and the mini_wiki_username
should return a string. Finaly add to the
app/controllers/application_controller.rb
file include MiniWikiOverride
to
activate the mini_wiki_override.rb
module.
The wiki uses http://redcloth.org/textile
formatting with one extension to make links
within the wiki: [[ThisIsALinkToANewPage]].
Copyright © 2009 Tom Pesman, released under the MIT license