diff --git a/content/blog/gitea.md b/content/blog/gitea.md new file mode 100644 index 0000000..5c0c9e7 --- /dev/null +++ b/content/blog/gitea.md @@ -0,0 +1,10 @@ +--- +title: "Self hosting gitea" +date: 2020-07-03T13:59:19-04:00 +draft: false +tags: ["blog", "dev"] +author: "Colin Diem" +authorImage: "/images/self.jpg" +--- +# I decided to start self-hosting my code +I setup gitea on my raspberry pi 4 this evening to try hosting my own code repository for fun. Setup went alright. Configuring postgres took a bit, and after I installed gitea, it wasn't working, I couldn't connect to the server. I poked around for a while, and eventually realized that along the way to finding a solution, I had started trying to connect on localhost on my desktop, which was never going to work since gitea was hosted on my raspberry pi. When I switched over to the correct URL it was working again. Now that I'm thinking about it, I think after the install, it tried to redirect me back to localhost:3000, which wasn't correct. It would probably have been working fine if I had happened to notice that in the beginning. Oh well, I got to poke around in the app.ini more than I probably would have otherwise, so no big loss.