Permalink
Browse files

change to the installation procedure

  • Loading branch information...
1 parent f572df9 commit 72b17d7b697ac0b4b9e3f59c52ef58ec5ef58309 @kgogolek committed Sep 17, 2012
Showing with 7 additions and 5 deletions.
  1. +5 −3 README.md
  2. +2 −2 lib/latest_issues/view_hook_listener.rb
View
@@ -6,11 +6,13 @@ You can configure how many latest issues you want to see, and which side of the
Installation
============
-1. Follow the Redmine plugin installation steps at: www.redmine.org/wiki/redmine/Plugins Make sure the plugin is installed to Make sure you install the plugin to vendor/plugins/ for Redmine 1.x, for Redmine 2.x install it to plugins.
+1. Clone latest version of plugin from git, install it to plugins. git clone ssh://git@github.com/kgogolek/latest-issues-redmine-plugin.git latest_issues
-2. Run the plugin migrations +rake db:migrate_plugins+
+2. Make sure your plugin folder name is *latest_issues*
-3. Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
+3. Run the plugin migrations +rake db:migrate_plugins+
+
+4. Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
Plugin should work now.
@@ -21,8 +21,8 @@ def load_setup()
#setup = LatestIssuesSetup.find_by_id(1)
setup = nil
if setup == nil
- count = 3 #LatestIssuesSetup::DEFAULT_COUNT
- side = 'left' #LatestIssuesSetup::DEFAULT_SIDE
+ count = LatestIssuesSetup::DEFAULT_COUNT
+ side = LatestIssuesSetup::DEFAULT_SIDE
else
count = setup.max_count
side = setup.side

0 comments on commit 72b17d7

Please sign in to comment.