From 15ef78a817f456060f8ce0109d7ebdc76c544afe Mon Sep 17 00:00:00 2001 From: "karel.picman@lbcfree.net" Date: Wed, 13 May 2020 13:30:16 +0200 Subject: [PATCH] #167 Installation/Upgrade procedure --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3f38881..d3b5f80 100644 --- a/README.md +++ b/README.md @@ -42,18 +42,26 @@ Installation From a ZIP file: -* Download the latest version of the plugin -* Unzip to */plugins* +* Download the latest version of the plugin. +* Unzip it to /plugins. From a GIT repository: -* Clone repository with git clone https://github.com/anteo/redmine_custom_workflows.git plugins/redmine_custom_workflows command +* Clone the repository: + +``` +git clone https://github.com/anteo/redmine_custom_workflows.git +``` After download: -* Run RAILS_ENV=production bundle exec rake db:migrate -* Run RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_custom_workflows -* Restart Redmine, e.g. systemctl restart apache2 +* Run migrations and restart the application: + +``` +RAILS_ENV=production bundle exec rake db:migrate +RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_custom_workflows +systemctl restart apache2 +``` Configuration -------------