FreeBSD Support

Of course! :slight_smile:

Here are the notes I took while getting it up and working (note: this is for the ‘backend’ only - I haven’t had the time to start looking at the front end yet):

Vikunja installation (FreeNAS):

Jail Setup:

Create jail named vikunja

Set jail properties to ‘auto start’

Mount storage (/mnt to jailData/vikunja)

Start jail & SSH into it

Installing packages:

pkg update && pkg upgrade -y
pkg install nano git go gmake

Clone vikunja repo:

mkdir /mnt/GO/code.vikunja.io
cd /mnt/GO/code.vikunja.io
git clone https://code.vikunja.io/api
cd /mnt/GO/code.vikunja.io/api

Compile binaries:

go install
gmake generate
gmake build

Create folder to install backend server into:

mkdir /mnt/backend
cp /mnt/GO/code.vikunja.io/api/vikunja /mnt/backend/vikunja
cd /mnt/backend
chmod +x /mnt/backend/vikunja

Set vikunja to boot on startup:

nano /etc/rc.d/vikunja

Then paste into the file:

#!/bin/sh

. /etc/rc.subr

name=vikunja
rcvar=vikunja_enable

command="/mnt/backend/${name}"

load_rc_config $name
run_rc_command "$1"

Save and exit. Then execute:

chmod +x /etc/rc.d/vikunja
nano /etc/rc.conf

Then add line to bottom of file:

vikunja_enable="YES"

test vikunja now works by:

service vikunja start

Set static IP on router

Backend available through IP:

192.168.1.XXX:3456

Done!

I hope this will be useful for someone in the future :slight_smile:

1 Like