[git-users] Re: Using Git in a web development environment (specifically with Coda 2 and a web server)
I'm still a bit overwhelmed with the Git documentation. And the tutorials about using Git with a web server are a bit confusing. Can anyone help me out by explaining the basic steps of getting Git to work with my web server? I'd need to install it onto the server, is that correct? And then tell my local Git that a repo exists on the server? I'm not really sure what to do here. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/65fXhAnGr5IJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Re: Using Git in a web development environment (specifically with Coda 2 and a web server)
Thanks for the reply. I'm taking a look at Capistrano. It does seem a bit overkill, but I'll still look into it. Could you give me an example of what I'd be able to do with it in a web development scenario? Basically it's just me, there aren't any other dev team members as I'm doing this freelance. At least for now, anyway. I'm thinking perhaps to just connect Coda directly to my testing server, and then using GitHub to push launch-ready commits to the live server. I'd be making the root web directory a Git repo right? On Saturday, May 26, 2012 4:41:28 PM UTC-4, Thomas Ferris Nicolaisen wrote: > > Maybe the deployment tool Capistrano has some good strategies for this? > > https://github.com/capistrano/capistrano/wiki/ > > At last I'm sure they support Git. Could be overkill for your task, but > maybe still a good way to learn about deployment. > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/Wl_5S5robf0J. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Using Git in a web development environment (specifically with Coda 2 and a web server)
Thanks for the reply. I'll give that a read, looks like some good information there. Can you tell me if this would be a correct description? Locally, I've got my dev folder. On the server, I set up a git repository in the folder that contains test.domain.com, as well as another repository in the folder that contains the domain.com files. This means I'll have 3 repos. I can push commits to the test repo, then when I'm happy with it, I can push them to the live site? Since Coda allows just one server to be defined (I do hope they change that...) then perhaps I should connect it to the test domain, and then use the GitHub app to push the files to the main domain when they're good to go? I figure the files always come from my local, and they don't travel from the test domain to the live domain when ready. On Saturday, May 26, 2012 4:57:15 AM UTC-4, Serge Matveenko wrote: > > On Sat, May 26, 2012 at 4:08 AM, Heronymo Allen > wrote: > > It's up to you how do you want to setup your server environment to > deploy your code. You may setup your webserver directory as another > git repo clone and use 'git pull' to deploy your code from central > repo (like github). It's fine for development or testing server. But > its usually better to use special deployment mechanisms for production > servers if you need to build or test your code before deploying. > > I advise you to read http://en.wikipedia.org/wiki/Continuous_integration > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/GdoPq7doRecJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.