having fun with code

Setting up a development environment

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:

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.

Related Posts:

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType

About the blog

This is a blog about development, focused mainly on Javascript but also other languages like python, shell scripts and more.

About the author

Eneko Alonso is a software engineer and UI developer with more than eight years of experience in software and web development. He lives in San Luis Obispo, California and works at LEVEL Studios.

Contact Info

Contact Info

PromoteJS

JavaScript JS Documentation