Code snippets style

This commit is contained in:
Karel Pičman 2015-04-14 13:03:52 +02:00
parent 0fe51cda8c
commit de47a7ef36

View File

@ -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.