Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Version Control

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #144594
    TWG
    Participant

    Where 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?

    #144608
    TheDoc
    Member

    Github 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.

    #144626
    TheDoc
    Member
    #145094
    TWG
    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?

    #145097
    TheDoc
    Member

    It’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.

    #145310
    Alen
    Participant

    I’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

    #145312
    TWG
    Participant

    I 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/

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Other’ is closed to new topics and replies.