Another Half Day of Gitea

Since I've posted the original post on Reddit, I've received a couple comments of feedback that I'd like to touch upon before I move on to another topic. So without further ado, let's talk about...

Gitea from Gogs

Gitea is actually a fork from an older project called Gogs. Reddit user donthek asked the following question:

Do you know why they forked gogs? Why should someone consider this instead of gogs?

Gogs has been inactive, at least in terms of commits, since November 22, 2017. It's been mentioned that author inactivity is the main reason for forking and spreading the responsibility. Issue 423 on Gitea provides feedback on the decision to fork:

Gogs is managed by a single person, who is the original author. The community asked many times to share responsibility but this was never accepted. So yes, this is the reason why the project was forked.

For comparison, the last commit to Gitea, as of the time of this blog post, was yesterday.

A non-containerized setup

In my first post, I used Docker as a backing service to the Gitea server. Reddit user dually asked the following question:

I wonder why containerize a go application?

It seems like a lot of added complexity with no containment benefit, because go binaries are already monolithic.

Actually, that's a good point. I don't have much to add to that. I would say that using Docker allows you to integrate your service with other Docker services easier, but I used it in a standalone fashion in my original post. So, with that being said, let's talk about using the Gitea binary alone.

If you want to host Gitea without Docker, follow my original post up to "Starting up the Docker Gitea service". Instead, follow the installation from binary instructions on the official Gitea site. They say to download the binary and make it executable:

wget -O gitea https://dl.gitea.io/gitea/1.3.2/gitea-1.3.2-linux-amd64
chmod +x gitea

After that, simply run the Gitea binary with web as the parameter:

./gitea web

It will run over port 3000 by default, so the instructions still match up. At this point, you should be done!