#!/bin/sh # 1. Git clone to ~/dashboard (`INSTALL.sh` and `systemd/*.service` assume that path) # 2. Run `./INSTALL.sh` # 3. Run `make` # 4. Go to http://localhost:41198 # # 5. (Optional) I set by Firefox homepage to that (configured at # about:preferences#home), and use # https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/ # to have the new-tab-page be my homepage. set -ex sudo pacman -S --needed -- \ go \ ruby-nokogiri \ ruby-sass \ yarn \ wget mkdir -p -- ~/.config/systemd/user/ ln -srf -- ~/dashboard/systemd/* ~/.config/systemd/user/ systemctl --user enable --now dashboard-daily.timer dashboard-httpd.socket