- This topic is empty.
-
AuthorPosts
-
July 25, 2013 at 2:02 pm #144594
TWG
ParticipantWhere I currently work at doesn’t require me to use Version Control but I freelance in my spare time and I would like to start using it. I’m currently setup with hosting over at MediaTemple and would like to setup Version Control on my server so that I don’t have to pay for a third-party service just yet.
Has anyone set this up with MediaTemple before? Can anyone give me any helpful hint’s for general use? Anyone have a 3rd party repository that they like that’s not terribly expensive?
Also, once I finish a website, should I move it out of my repository or should it stay there for future updates? I would like to be able to committ my changes to the repository and it automatically commit them to the host. Is that possible?
July 25, 2013 at 3:11 pm #144608TheDoc
MemberGithub is pretty popular and of course is free. If you want private repos you can pay a small monthly fee.
Personally, I switched over to using Bitbucket because you get unlimited private repos for free. This is pretty big for me.
Searching for ‘deploy with git’ will provide you with a bunch of options on keeping your server up to date with your master branch.
July 25, 2013 at 4:56 pm #144626TheDoc
MemberFitting: https://css-tricks.com/deployment/
July 29, 2013 at 7:04 pm #145094TWG
Participant@TheDoc – Thank you for the suggestion of GitBucket. I started using it over the weekend and it’s been working great.
I did still have two questions though.
1) Do you have it setup to automatically push the published files to your host.
2) Have you developed any wordpress themes using repos? If so, any helpful hints/tips?July 29, 2013 at 7:20 pm #145097TheDoc
MemberIt’s Bitbucket ;)
1) Yes. You’ll want to do something where your server is always the same as your master branch. This can be done through a few different hooks and/or third-party services. Check out that link in my previous post for some ideas.
2) I still haven’t found a WordPress + Git solution that I like, unfortunately.
July 31, 2013 at 4:19 pm #145310Alen
ParticipantI’m also wondering a little about how you work when you’re always logging into other people’s servers.
With Git you are always working locally. When you “push” changes to remote git hosting service like GitHub, the changes are then synced with your hosting account using 3rd-party services like Beanstalk.
Great guide: http://guides.beanstalkapp.com/deployments/best-practices.html
July 31, 2013 at 7:57 pm #145312TWG
ParticipantI did find this article earlier today but I haven’t had a chance to play with it. I was hoping to get to Friday. I will be enjoying my last 3 day weekend before i start my normal work week again.
As soon as I get something working, I will post back.
http://brandonsummers.name/blog/2012/02/10/using-bitbucket-for-automated-deployments/
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.