Using SVN on a live website

Discussion in 'Apache' started by danramosd, Jan 11, 2011.

  1. #1
    I'm new to SVN and want to use it on my websites. I have a local MAMP setup where i normally start most of my websites, and later upload them to my LAMP server (hosted with mediatemple). How do I go about implementing SVN on a live server. Most of the articles i read have you create the svn repo in the ~ and not the actual www directory. I was looking to just make changes to files locally and have them commit to the www directory so they are live once I make the changes as oppose to submitting them to ~ and moving them from there to the www directory. Is this bad practice to go directly to the www directory? If this is actually the way I should be using SVN as a web developer how do I go about setting it up so people cant view my repo, but my actual site?

    Not sure if it matters but i have ssh access to the site, but would like to use SCToolBarButton for mac.
     
    danramosd, Jan 11, 2011 IP
  2. marsh_candy

    marsh_candy Active Member

    Messages:
    183
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Just make sure to use https for security purposes. You may try to use SVNManager to handle your SVN.
     
    marsh_candy, Jan 12, 2011 IP