Project

trahald

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
a simple wiki on git
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0.3
~> 2.13.0

Runtime

~> 0.14.2
~> 2.0.3
~> 3.2.6
~> 1.3.5
~> 1.3.6
 Project Readme

Trahald

Build Status

Yet another simple wiki on git. DEMO

  • realtime preview in editing
  • markdown
  • utf-8 page title and contents (You can use 日本語, français, ...)
  • slideshow
  • drag & drop image upload
  • bootstrap

You need:

  • git or redis(mainly for Heroku) as backend database.
  • ruby 1.9.3 or jruby 1.7.3

Restrictions:

  • If you use jruby or windows, git is not available. Run trahald with -E options like rackup -E redis.
  • If you use this on heroku, image uploader is unable to use.

This project does not support ruby 1.8.7. It will no longer supported in all senses after June 2013.

[http://www.ruby-lang.org/en/news/2011/10/06/plans-for-1-8-7/](Plans for 1.8.7 - ruby-lang.org)

Installation

This is just a library. To use Trahald as your wiki, see 3100/a_trahald.

Configuration

If you use redis, set your redis url to env TRAHALD_REDIS_URL:

export TRAHALD_REDIS_URL="redis://redistogo:password@sub.redistogo.com:port/"

or

heroku config:set TRAHALD_REDIS_URL=redis://redistogo:password@sub.redistogo.com:port/

In development

Preparation

bundle install

By default, Bundler installs git and redis gems. You can use --without option with these groups:

  • git
  • redis

e.g. If you do not need redis gem, add the option:

bundle install --without redis

Running App

rackup -p $PORT

By default, Trahald use git. If you want to use redis alternatively, add -E option:

rackup -p $PORT -E redis

Test

bundle exec rspec

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request