Since I’ve been hacking Pleroma with my really basic knowledge of it, IE migrating it again and installing Akkoma instead of Pleroma just for shits and giggles. I decided to give it a shot for installing Treebird, this was kind of easy until i had to do the configuration of the web server, in this case I’m using caddy since I really don’t like Nginx.

So from what I understand, Treebird is a binary made in C, that you compile, and then use a server of Fastcgi to run queries through it.

I got some help from the caddy community and now i have this short caddy file:

waifuism.life {
    reverse_proxy 127.0.0.1:4000
}

treebird.waifuism.life {
	@static path /js/* /img/* /svg/* /*.css /*.png
	handle @static {
		root * /usr/local/share/treebird
		file_server
	}

	handle {
		reverse_proxy * unix//var/run/fcgiwrap.socket {
			transport fastcgi {
				env SCRIPT_FILENAME /usr/local/bin/treebird.cgi
			}
		}
	}
}

The only commands i use and understand are:

fossil update
make 
make intall

That has been enough until now…

Leave a comment

Your email address will not be published.