Advertisement
Guest User

Untitled

a guest
Feb 6th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. Installation
  2. Installing the plugin
  3.  
  4. Install the json gem <json.rubyforge.org/> on the machine where Redmine is running.
  5. Follow the plugin installation procedure at www.redmine.org/wiki/redmine/Plugins.
  6. Restart your Redmine.
  7. If you already have a local Git repository set up and working from Redmine go to step 3, otherwise continue at step 2.
  8. Adding a Git repository to a project (note, this should work whether you want to use Redmine Github Hook or not). Simplyfollow the instructions at www.redmine.org/wiki/redmine/HowTo_keep_in_sync_your_git_repository_for_redmine
  9. Connecting Github to Redmine
  10.  
  11. Go to the repository Admin interface on Github.
  12. Under “Service Hooks” add a new “Post-Receive URL” of the format: “[redmine_installation_url]/github_hook” (for example “example.com/github_hook”).
  13.  
  14. By default, Github Hook assumes your Github repository name is the same as the project identifier in your Redmine installation. If this is not the case, you can specify the actual Redmine project identifier in the Post-Receive URL by using the format “[redmine_installation_url]/github_hook?project_id=[identifier]” (for example “example.com/github_hook?project_id=my_project”).
  15. That’s it. Github will now send a HTTP POST to the Redmine Github Hook plugin whenever changes are pushed to Github. The plugin then takes care of pulling the changes to the local repository and updating the Redmine database with them.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement