diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f6e7eb1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.rbc +.rspec +*.orig + +# Ignore all logfiles and tempfiles. +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + + +# dotenv, dotenv-rails +# TODO Comment out these rules if environment variables can be committed +.env +.env*.local + +# Ignore IDE files +/.project diff --git a/README.md b/README.md index c8dd78e..bd761ac 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ This plugin adds a comment in redmine issue whenever user commits to github with 4. Github -> Repo setting –> webhook –> In event, select "send me everything" or you can select "Let me select individual events" and inside check the checkbox for commit event and then create web hook. -5. For repository, webhook should be created with payload-url as `localhost:3000/github_commits/create_comment.json` where in url replace `localhost:3000` with your host address. +5. Github -> Repo setting –> webhook –> Content type, select "application/json". -6. In Redmine, Go to Administration -> Settings -> General Tab and change text formatting to `Markdown`. This will show the comment message properly. +6. For repository, webhook should be created with payload-url as `localhost:3000/github_commits/create_comment.json` where in url replace `localhost:3000` with your host address. + +7. In Redmine, Go to Administration -> Settings -> General Tab and change text formatting to `Markdown`. This will show the comment message properly.