I want to left behind the days when I was developing code without any version control system. I have been using these at work for years now, but never for my personal projects. So know I use/have two SVN repositories:
- enekoalonso.com/svn for my personal projects and tests.
- code.google.com/u/eneko.alonso/ for more complex projects in which other people my want to participate.
But SVN doesn’t solve all problems, specially when working with Javascript and HTML. This is because I want to see my code in action. For this, I have http://code.enekoalonso.com. Until now I was uploading manually javascript and html demo pages that I was working on, but synchronizing it with the SVN repository became a pain very fast. So in order to avoid this, I have done a checkout of my SVN repository on my webserver. Now, whenever I update or add a new project to the repository, updating http://code.enekoalonso.com will be as simple as running the command:
svn update
And that’s it!
Now I can develop and test locally on my own computer, then commit to svn and update my code server without any pain.
