Google analytics installation

After installing Redmine on BlueHost, it's time to add a plugin.
This installation requires the Redmine setup used here
The plugin hompage is here

commands to run directly from the prompt is in this format

So, here is what I did:
cd ~/public_html/redminedemo
ruby script/plugin install http://svn.rails-engines.org/engines/tags/rel_2.0.0/
mv vendor/plugins/rel_2.0.0 vendor/plugins/engines
cd ~/public_html/redminedemo/vendor/plugins
wget https://projects.littlestreamsoftware.com/attachments/download/154/google_analytics_plugin.tar.gz
tar zxvf google_analytics_plugin.tar.gz
rm google_analytics_plugin.tar.gz
sed 's|Redmine::Hook::ViewListener|Rails::Plugin|g' google_analytics_plugin/lib/google_analytics_hooks.rb > TMPFILE && mv TMPFILE google_analytics_plugin/lib/google_analytics_hooks.rb
cd ~/public_html/redminedemo
rake db:migrate_plugins RAILS_ENV="production"

That's it. You will now find your plugin listed in the Settings section of Administration on your Redmine site.

Also available in: HTML TXT