trinistorm Posted July 3, 2011 Share Posted July 3, 2011 After about roughly 12 hours of trial, error and Google queries I was able to set up and test out a subversion server. I've been using it for about 2 weeks or more and so far so good. I realized its not exactly what I expected and that I most likely am not using it as efficiently as it could be but it has helped me track and manage changes to my code and templates and helps with better organisation.I have a notebook I now do all my development work on so that I am more portable. On this I have a Virtual Machine(headless) with Ubuntu 10.04 Server and I use OpenSSH to interact with it. (I chose a Virtual Server because I wanted to remain portable and I do realize that if my Notebook crashes I'm in for it.)On the virtual server I have subversion configured as part of the http server and I also have an ftp server. I use netbeans as an FTP client and subversion client. The ftp server can only access the htdocs folder and when I save my files, netbeans uploads to the ftp server so that I can run by accessing my network url. The files are also stored in the local projects folder. When I want to check in or "import" to the subversion server, a third copy is made in the "svn" web folder. This setup allows me to checkout my files when I want to work on a particular project (I am working on 3), make my changes and commit them when I'm done. If I end up regretting my changes, I can revert to previous versions, re-create deleted files etc. netbeans also allows you to compare two file versions side by side.The major downside to my setup lies in the fact that I have 3 copies of my code and overall all on the same machine. As I mature a bit more as a developer I intend to setup a dedicated server for this kind of thing and also sign up for some code hosting services such as Git.Well this took me quite some time to understand and setup and Netbeans does all the subversion interactions so aside from a few terminal commands for set up the only subversion command I know of is "import". I downloaded the subversion book but I haven't got the time to read it yet. So far so good though and I'm getting more familiar as time goes on. Any comments, criticism or suggestions? I'm wide open for them. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now