Awesome! I've wanted something like this for a while. About 2 weeks ago, I tried running this and it took upwards of half an hour to get running on my VPS with DigitalOcean.
Today however it took 30 seconds so I'm not sure whether it has been updated but a great improvement :-) The only thing I can't wrap my head around in the README is the 'deploy an app' section.
It says to cd into node-js-sample. Where does that folder come from? I created a bare repo called 'node-js-sample' in /home/git and I tried pushing to that but I get this error:
/usr/local/bin/gitreceive: line 54: /home/git/node-js-test/hooks/pre-receive: Permission denied
I looked and that hook doesn't exist (that'd be why! Haha) What's the proper way of creating an app ready to be deployed on the server?
Comments
Awesome! I've wanted something like this for a while. About 2 weeks ago, I tried running this and it took upwards of half an hour to get running on my VPS with DigitalOcean.
Today however it took 30 seconds so I'm not sure whether it has been updated but a great improvement :-) The only thing I can't wrap my head around in the README is the 'deploy an app' section.
It says to cd into node-js-sample. Where does that folder come from? I created a bare repo called 'node-js-sample' in /home/git and I tried pushing to that but I get this error:
/usr/local/bin/gitreceive: line 54: /home/git/node-js-test/hooks/pre-receive: Permission denied
I looked and that hook doesn't exist (that'd be why! Haha) What's the proper way of creating an app ready to be deployed on the server?
Woops! Looks like I was overcomplicating things. You don't actually need to create anything on the server at all. That's pretty sweet