Version Control - What is the best way forward

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aggelos

    Version Control - What is the best way forward

    I want to start developing a simple Content Management System and
    having done that before I know there is a point where you can't manage
    different versions of applications unless you have a sollution like
    version control.

    I was thinking of having something like one installation for the whole
    server, but some of you said that this might have security risks.

    So I've tried to look into SVN which I was told that will do what I
    like to do.

    So if I have 10 websites with one Content Management System and one
    development version that is tracked from SVN, I can then upload a
    working version, in all my 10 sites.

    The problem I am facing at the moment is I don't understand where the
    SVN should be running.

    I use a Dedicated Linux server which is fully managed and I can't
    really play with it, otherwise I lose the support and ofcourse I don't
    want that to happen.
    And I am doing all the coding on a windows PC using dreamweaver for my
    text editor.

    Where would the SVN sit ? can someone tell me ? Is it worth to run a
    virtual machine or a second home PC as a webserver and testing
    environment ?

    I am happy to listen to any suggestions and different setups you use
    for development. Either that is work or home.

    Thank you.
    Angelos.

  • Michael Fesser

    #2
    Re: Version Control - What is the best way forward

    ..oO(Aggelos)
    >I want to start developing a simple Content Management System and
    >having done that before I know there is a point where you can't manage
    >different versions of applications unless you have a sollution like
    >version control.
    >
    >I was thinking of having something like one installation for the whole
    >server, but some of you said that this might have security risks.
    Depends on how it's implemented and used. My own framework consists of a
    common library shared across all projects and some project-specific
    extensions. If multiple sites are hosted on the same server and same
    account, I only have to store the lib once for all hosted projects.
    >So I've tried to look into SVN which I was told that will do what I
    >like to do.
    CVS and its successor SVN are used to maintain the source code tree with
    a full version history. It allows to checkout working versions from any
    arbitrary point in version history, while development and testing can be
    done in parallel.
    >So if I have 10 websites with one Content Management System and one
    >development version that is tracked from SVN, I can then upload a
    >working version, in all my 10 sites.
    Yep.
    >The problem I am facing at the moment is I don't understand where the
    >SVN should be running.
    Usually on a dedicated development server.
    >I use a Dedicated Linux server which is fully managed and I can't
    >really play with it, otherwise I lose the support and ofcourse I don't
    >want that to happen.
    >And I am doing all the coding on a windows PC using dreamweaver for my
    >text editor.
    >
    >Where would the SVN sit ? can someone tell me ? Is it worth to run a
    >virtual machine or a second home PC as a webserver and testing
    >environment ?
    I would say yes. In my own LAN at home there's my workstation running
    WinXP and Linux (whatever I need at the moment). In addition there's a
    small Debian Linux box (an old Pentium 3 with 550MHz), acting as a
    dedicated server. It runs a full featured Apache2 webserver with PHP,
    database etc., some SVN repositories and a lot of other LAN services
    (DHCP, NTP, DNS, fileserver, ...)

    Development is done on the workstation using shared network drives from
    the server (Samba) and the Eclipse IDE. After finishing and testing some
    (sub)project, the files are deployed via FTP to the real public servers,
    either by hand with SmartFTP or using Eclipse's own team synchronization
    features, even if some of them are still a bit buggy.

    Micha

    Comment

    • lawrence k

      #3
      Re: Version Control - What is the best way forward

      On Jul 13, 10:29 am, Aggelos <djje...@gmail. comwrote:
      So I've tried to look into SVN which I was told that will do what I
      like to do.
      >
      So if I have 10 websites with one Content Management System and one
      development version that is tracked from SVN, I can then upload a
      working version, in all my 10 sites.
      >
      The problem I am facing at the moment is I don't understand where the
      SVN should be running.
      >
      I use a Dedicated Linux server which is fully managed and I can't
      really play with it, otherwise I lose the support and ofcourse I don't
      want that to happen.
      And I am doing all the coding on a windows PC using dreamweaver for my
      text editor.
      >
      Where would the SVN sit ? can someone tell me ? Is it worth to run a
      virtual machine or a second home PC as a webserver and testing
      environment ?
      A bunch of places offer cheap Subversion accounts, for $10 or $15 a
      month, and with plenty of space to host your project.

      Comment

      • Aggelos

        #4
        Re: Version Control - What is the best way forward

        On Jul 13, 5:15 pm, Michael Fesser <neti...@gmx.de wrote:
        .oO(Aggelos)
        >
        I want to start developing a simple Content Management System and
        having done that before I know there is a point where you can't manage
        different versions of applications unless you have a sollution like
        version control.
        >
        I was thinking of having something like one installation for the whole
        server, but some of you said that this might have security risks.
        >
        Depends on how it's implemented and used. My own framework consists of a
        common library shared across all projects and some project-specific
        extensions. If multiple sites are hosted on the same server and same
        account, I only have to store the lib once for all hosted projects.
        >
        So I've tried to look into SVN which I was told that will do what I
        like to do.
        >
        CVS and its successor SVN are used to maintain the source code tree with
        a full version history. It allows to checkout working versions from any
        arbitrary point in version history, while development and testing can be
        done in parallel.
        >
        So if I have 10 websites with one Content Management System and one
        development version that is tracked from SVN, I can then upload a
        working version, in all my 10 sites.
        >
        Yep.
        >
        The problem I am facing at the moment is I don't understand where the
        SVN should be running.
        >
        Usually on a dedicated development server.
        >
        I use a Dedicated Linux server which is fully managed and I can't
        really play with it, otherwise I lose the support and ofcourse I don't
        want that to happen.
        And I am doing all the coding on a windows PC using dreamweaver for my
        text editor.
        >
        Where would the SVN sit ? can someone tell me ? Is it worth to run a
        virtual machine or a second home PC as a webserver and testing
        environment ?
        >
        I would say yes. In my own LAN at home there's my workstation running
        WinXP and Linux (whatever I need at the moment). In addition there's a
        small Debian Linux box (an old Pentium 3 with 550MHz), acting as a
        dedicated server. It runs a full featured Apache2 webserver with PHP,
        database etc., some SVN repositories and a lot of other LAN services
        (DHCP, NTP, DNS, fileserver, ...)
        >
        Development is done on the workstation using shared network drives from
        the server (Samba) and the Eclipse IDE. After finishing and testing some
        (sub)project, the files are deployed via FTP to the real public servers,
        either by hand with SmartFTP or using Eclipse's own team synchronization
        features, even if some of them are still a bit buggy.
        >
        Micha
        Thanks very much for your reply.
        Just the fact that I know I am in the right way, is probably enough
        for now.

        I haven't used Eclipse but I might give it a try.

        Thanks again and I might bother you again if I need some help.
        Hope you won't mind.

        Angelos.

        Comment

        • Aggelos

          #5
          Re: Version Control - What is the best way forward

          On Jul 13, 6:27 pm, lawrence k <lkrub...@geoci ties.comwrote:
          On Jul 13, 10:29 am, Aggelos <djje...@gmail. comwrote:
          >
          >
          >
          So I've tried to look into SVN which I was told that will do what I
          like to do.
          >
          So if I have 10 websites with one Content Management System and one
          development version that is tracked from SVN, I can then upload a
          working version, in all my 10 sites.
          >
          The problem I am facing at the moment is I don't understand where the
          SVN should be running.
          >
          I use a Dedicated Linux server which is fully managed and I can't
          really play with it, otherwise I lose the support and ofcourse I don't
          want that to happen.
          And I am doing all the coding on a windows PC using dreamweaver for my
          text editor.
          >
          Where would the SVN sit ? can someone tell me ? Is it worth to run a
          virtual machine or a second home PC as a webserver and testing
          environment ?
          >
          A bunch of places offer cheap Subversion accounts, for $10 or $15 a
          month, and with plenty of space to host your project.
          I'll have a look at it. I Just found a free one to play with for a
          bit. (https://opensvn.csie.org/)

          Thanks

          Comment

          • Michael Fesser

            #6
            Re: Version Control - What is the best way forward

            ..oO(Aggelos)
            >Thanks very much for your reply.
            >Just the fact that I know I am in the right way, is probably enough
            >for now.
            >
            >I haven't used Eclipse but I might give it a try.
            It needs some time to get used to it, but it has some nice features and
            is very flexible. IMHO it's worth a look.
            >Thanks again and I might bother you again if I need some help.
            >Hope you won't mind.
            No problem.

            Micha

            Comment

            Working...