Comments (3)
Hi,
Thanks for having a look! Yeah, the instructions are really really terrible at the moment and is something I need to work on over the next few days.
That symlink line refers to triggering git-runner through the post-update hook in your remote bare git repository. In this repository there will a hooks directory. Inside this you'll need to create a symlink so that when the post-update hook is ran (by default there shouldn't already be a post-update hook) it invokes git-runner, something like this:
ln -s /Users/james/.rvm/gems/ruby-1.9.3-p194/bin/git-runner post-update
This approach may or may not be good depending if the git-runner executable (created by installing the gem) is likely to change paths, if it is it might be a good idea to create a small shell script named post-update which requires rubygems and git-runner:
#!/usr/bin/env ruby
require 'rubygems'
require 'git-runner'
GitRunner::Base.new(ARGV).run
I like this second approach and it's something I'm still deciding on what I should recommend people do, and if there is a way I can reliably automate this post gem installation. Either way there just needs to be a way for git-runner to be invoked when the post-update hook is fired.
Let me know if you need any assistance with this. I am very open to hearing about any issues/woes or things that just don't feel right, very happy to help or hear criticisms :).
Thanks!
James
from git-runner.
I've updated the README, hopefully that helps some of the confusion regarding installation. It's still not perfect, but getting there!
from git-runner.
This makes the project much more accessible, thanks. Looking forward to having another play with it over the weekend.
from git-runner.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-runner.