Is anyone using git on a local machine to manage code on your remote servers? Currently doing some research on using hooks to pull changes after a commit to my remote repo.
Git service deploy hooks
Collapse
X
-
Git service deploy hooks
- Free Premium Domain Lists and Tools at Clickmojo.com
- For Sale: Obscenity.com
Tags: None -
What language are you using? I'm not quite sure what you are trying to do.
Usually I have a local git repo, push to remote and then pull that remote on my deploy server. This is quite common I believe.
If you are using Ruby then use Cappuccino and if you are using Python then use Fabric.
You can use either for any language and then integrate well with git.I'm out. -
Currently, I manually pull on the production server after a local push to remote. I was looking at the hooks. I found this info that would work well if you have a repo on the same production server.What language are you using? I'm not quite sure what you are trying to do.
Usually I have a local git repo, push to remote and then pull that remote on my deploy server. This is quite common I believe.
If you are using Ruby then use Cappuccino and if you are using Python then use Fabric.
You can use either for any language and then integrate well with git.
http://toroid.org/ams/git-website-howto- Free Premium Domain Lists and Tools at Clickmojo.com
- For Sale: Obscenity.com
Comment
-
Comment
-
Yes, have been doing so for a while.
I use a repo like Bitbucket.org that have post commit triggers. This fires a script on a box that deploys to remote machines. Conditional options based on the branch means I can fire to master or branches/staging at will. Their triggers are nice Json so has everything you need in it, they also have hooks for a few others as well.
Presumably you are aiming for continuous integration, I'm looking to expand the deployments to include phplint, linkchecker and drive some phpUnit tests as well.http://www.webcamalerts.com for auto tweets for web cam operatorsComment


Comment