Skip to content
Abe Pazos edited this page Apr 10, 2016 · 1 revision

Server

Enable 3 domains, with and without www

uberspace-add-domain -d "*lacunalab.de" -w
uberspace-add-domain -d "*lacunalab.com" -w
uberspace-add-domain -d "*lacunalab.org" -w
uberspace-add-domain -d "*.lacunalab.de" -w
uberspace-add-domain -d "*.lacunalab.com" -w
uberspace-add-domain -d "*.lacunalab.org" -w

The auto-update service had stopped. I restarted it with

svc -du ~/service/run_automatic_pull

Also, somehow jekyll had disappeared! I figured out by doing

cd
tail service/run_automatic_pull/log/main/current

which showed the missing jekyll error. Installed it with

gem install jekyll

Enable e-mail and info@ e-mail account

uberspace-add-domain -d lacunalab.org -m
vsetup
vadduser info

Pages to check on Uberspace

Currently the github hook triggers saving an empty file on a folder. A service (using runwhen) checks every 10 seconds for that file, and if found, does a git pull and compiles the site with jekyll. If I remember right I found a way to do that directly from the the php that gets triggered from github, so we could avoid checking every 10 seconds (which gets saved on a log... a waste). For some reason it was tricky to run jekyll from php, but it can be done.

Clone this wiki locally