From de47a7ef365e572727b3b4759a906847a6b91baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 14 Apr 2015 13:03:52 +0200 Subject: [PATCH] Code snippets style --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 49ed852a..24cc6609 100644 --- a/README.md +++ b/README.md @@ -180,18 +180,14 @@ Before installing ensure that the Redmine instance is stopped. * invalid=replace => to perform document title invalid characters replacement for '-' Example: - - ```ruby + rake redmine:dmsf_convert_documents project=test RAILS_ENV="production" - ``` b) To alert all users who are expected to do an approval in the current approval steps Example: - - ```ruby - rake redmine:dmsf_alert_approvals RAILS_ENV="production" - ``` + + rake redmine:dmsf_alert_approvals RAILS_ENV="production" ### Fulltext search (optional) If you want to use fulltext search features, you must setup file content indexing. @@ -204,10 +200,8 @@ It is necessary to index DMSF files with omega before searching attempts to rece This command must be run on regular basis (e.g. from cron) Example of cron job (once per hour at 8th minute): - - ```bash + 8 * * * * root /usr/bin/ruby redmine_dmsf/extra/xapian_indexer.rb -f - ``` See redmine_dmsf/extra/xapian_indexer.rb for help.