Hacker News new | ask | show | jobs
by ceejayoz 4112 days ago
> You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters.

Getting a few private repositories on GH is $7/month.

It'll cost me more than that for a server, not to mention the time setting up and managing.

2 comments

Unlike GitLab, gogs can probably run well on a $5 DigitalOcean instance.
Can confirm. Running Gitlab on the $5 (or even $10) Digital Ocean VM is not gonna give you optimal experience unless you are a single user with a tiny repository and dedicate the entire VM to Gitlab (even after that, it is pretty slow on the $5 instance).

Haven't tried Gogs yet but sounds like it would be faster.

Digital Ocean recommends running GitLab on their $10/month instance, so while I haven't tried it, the $5 one is probably still up to the task: https://www.digitalocean.com/features/one-click-apps/gitlab/

(Full disclosure: I'm a developer at GitLab B.V.)

If you're going for the 512MB please read the requirements https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/inst... (make sure to set up swap and use ssh access)
> 512MB RAM + 1.5GB of swap is the absolute minimum

lol

Leaving me with an entire annual savings of $24 over Github.

I should probably set up SSL, backups, patch it occasionally, etc., which is going to pretty quickly eat that up.

You could use BitBucket. They have free private repositories.

The cool thing about this is that it makes self-hosting a viable option for more people.

I've got Gitlab running on a DigitalOcean droplet, and even if you choose not to use their pre-built images, setting up Gitlab is very easy.