Skip to content

ydkn/raki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raki

Raki is a extensible wiki written using the Ruby on Rails framework. It can use different backends to store pages and attachments or multiple backends for different namespaces. It can also have a namespace-specific syntax.

Authors

  • Florian Schwab

  • Martin Sigloch

Contributors

  • Aaron Mueller

  • Benjamin Schweizer

Dependencies

Raki core

$ gem install -v=2.3.10 rails
$ gem install mime-types

GIT provider

$ gem install unicode

Raki parser

$ gem install treetop

OpenID authenticator

$ gem install ruby-openid (NOT "openid")

Installation & Configration (core)

Rename/copy the file config/database.yml.example to config/database.yml and edit the credentials for the database if necessary. Now rename/copy the file config/raki.yml.example to config/raki.yml and edit it to fit your needs. Run rake db:migrate to create all necessary tables.

Example with GIT as storage, OpenID for authentication and file-based authorization

Create a GIT repository with git init --bare /path/to/git-repo. Now change in config/raki.yml the path parameter to match the GIT repository you just created. Then change the authenticator to openid. The last step is to rename/copy the file config/permissions.yml.example to config/permissions.yml and change the permissions if necessary.

Run it

$ touch tmp/restart.txt
$ script/server