Writing by @risottobias@tech.lgbt
cd /opt/
wget https://github.com/writefreely/writefreely/releases/download/v0.15.1/writefreely_0.15.1_linux_amd64.tar.gz
unzip writefreely
chmod +x writefreely/writefreely
/opt/writefreely/writefreely config start # pick reverse proxy, single user, sqlite, etc
/opt/writefreely/writefreely keys generate
/etc/systemd/system/writefreely.service
[Unit] Description=WriteFreely Instance After=syslog.target network.target # If MySQL is running on the same machine, uncomment the following # line to use it, instead. #After=syslog.target network.target mysql.service [Service] Type=simple StandardOutput=syslog StandardError=syslog WorkingDirectory=/opt/writefreely ExecStart=/opt/writefreely/writefreely Restart=always [Install] WantedBy=multi-user.target
make sure to run
systemctl enable writefreely
andsystemctl start writefreely
/etc/caddy/Caddyfile
pasta.risottobias.org {
reverse_proxy localhost:8080
}
Should be good to log in then.
Things!
This is an edit of a blog