redmine_persist_wfmt is a plugin for Redmine that enables to select and save wiki format of various documents. (issue, document, wiki ...)
Execute follow commands at your Redmine directory.
Clone to your Redmine's plugins directory
$ git clone https://github.com/pinzolo/redmine_persist_wfmt.git plugins/redmine_persist_wfmt
Install dependency gems
If you are already using Redmine, you probably only call bundle
.
$ bundle install --without test development
Execute migration
$ bundle exec rake redmine:plugins:migrate NAME=redmine_persist_wfmt RAILS_ENV=production
Execute persist_all
task
This task saves all wiki formats that already exist.
# FORMAT is required and must be 'textile' or 'markdown'
$ bundle exec rake pwfmt:persist_all FORMAT=textile RAILS_ENV=production
Restart your Redmine
This plugin contains docker-compose.yml
, so you can try this by docker-compose up
.
If you want to use this plugin with Redmine2 or 3, use ver1 branch.
To check tests and rubocop, you need to merge Gemfile.local
in this plugin to Gemfile.local
of your Redmine.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)RAILS_ENV=test bundle exec rake redmine:plugins:test:ui
)bundle exec rubocop plugins/redmine_persist_wfmt
)git push origin my-new-feature
)