[git-users] Re: Using Git in a web development environment (specifically with Coda 2 and a web server)

2012-05-27 Thread Heronymo Allen
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)

2012-05-27 Thread Heronymo Allen
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)

2012-05-27 Thread Heronymo Allen
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.



[git-users] Using Git in a web development environment (specifically with Coda 2 and a web server)

2012-05-25 Thread Heronymo Allen
Hi all,

I just purchased Coda 2 yesterday, and I installed Git for version control. 
I also installed the GitHub GUI for Git.
I've never used a version control mechanism and I've always done it 
manually. But I want to learn how to properly set up Git for a web dev 
environment.

I've searched around and read some documentation and tutorials, but it 
doesn't seem like I've found my answers. Also, everything I found was a bit 
overwhelming!

Coda 2 can see Git just fine and the version control features are now 
active. 
But how do I use it with my web server? Do I need to install Git onto the 
server?
Coda can track changes locally, but I don't know if it's working remotely. 
I don't know if Coda can compare the local files to the server files.

Furthermore, and perhaps this is more of a Coda issue, I would like to know 
if it's possible to have a setup where I have a testing server (eg: 
test.domain.com) and a live server (domain.com).
I preview and develop the website on the test subdomain, and then push it 
to the main domain when it's ready to go.
Is this something that Git can help me with? Coda only allows you to define 
one server. That's one thing I miss from Dreamweaver, the ability to define 
multiple servers for testing and live deployment.

If you need more info please don't hesitate to ask.

Any help would be totally appreciated. Thanks to any and all who reply!

-- 
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/-/j-5oQA4vZssJ.
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.