I’d like to self-host an SVN repository for a personal project (web game), but I’m unsure of where I should host it. It wouldn’t receive a lot of traffic as I am the sole developer. These are the options I see:
- Use one of my personal computers
- Use the VPS running the web server for the project
Hosting it on the VPS makes the most sense to me. Is this the right choice or are there pitfalls to using what is essentially a production server for code hosting?
If you have a machine that’s always accessible via
ssh, that would be my first preference. I’d then fallback to awebdavimplementation like Apache and mod_dav. This entails quite a bit more setup and makes it publicly accessible unless you secure it. I’d guess it’s unlikely you’re going to be committing sufficiently often to put any stress on your VPS but I’d probably choose a different machine if you have another available.