tckz / redmine-wiki_graphviz_plugin

Wiki macro for redmine. The macro render graph-image from wiki contents as dot.
https://passing.breeze.cc/mt/
Other
58 stars 13 forks source link
graphviz redmine redmine-plugin redmine-wiki wiki-macro

Redmine Wiki Graphviz-macro plugin

Redmine Wiki Graphviz-macro plugin make Redmine's wiki able to render graph image.

sample

Features

{{graphviz}} macro

{{graphviz_me}} macro

{{graphviz_link}} macro

Tips

Requirement

Getting the plugin

https://github.com/tckz/redmine-wiki_graphviz_plugin

e.g.)

git clone https://github.com/tckz/redmine-wiki_graphviz_plugin.git wiki_graphviz_plugin

Install

  1. Copy the plugin tree into #{RAILS_ROOT}/plugins/

    #{RAILS_ROOT}/plugins/
        wiki_graphviz_plugin/
  2. Make sure the temporary directory writable by the process of redmine.

    #{RAILS_ROOT}/tmp/

    This plugin try to create follwing directory and create tmporary file under it.

    #{RAILS_ROOT}/tmp/wiki_graphviz_plugin/
  3. Restart Redmine.

Optional

  1. Setup caching environment, like memcached.
  2. Install gem for caching.
    # e.g.) cd $RAILS_ROOT
    $ bundle add dalli
  3. Configure cache_store.
    e.g.) config/environments/production.rb
    config.action_controller.perform_caching = true
    config.action_controller.cache_store = :dalli_cache_store, "localhost"
  4. Restart Redmine.
  5. Login to Redmine as an Administrator.
  6. Setup wiki graphviz-macro settings in the Plugin settings panel.

License

This plugin is licensed under the GNU GPL v2.
See COPYRIGHT.txt and GPL.txt for details.

Contribution

My environment