Remove ignored files
Add url to repo
Finalizing repo
Collect responses from HTML forms.
In order to compile Riku, you need to have:
Here is how to build Riku:
git clone git.sr.ht/~m15o/riku
cd vpub
make
You should now have riku
in ./bin/
. You can keep it there, or move it to /usr/riku
or anywhere else.
Riku needs a Postgres database to run. Install Postgres and create a database:
apt-get install postgresql
su - postgres
createuser -P riku
createdb -O riku riku
Here's an example service file. Create it on /etc/systemd/system/riku.service
.
[Install]
WantedBy=multi-user.target
[Unit]
Description=vpub
[Service]
Environment="DATABASE_URL=postgres://riku:riku@localhost/riku?sslmode=disable"
ExecStart=/usr/sbin/riku
The following ENV variable are available:
Port
defaults to 8888Key
defaults to the_coffee_tastes_great
. It's the key requested when creating an account.DatabaseURL
SessionKey