summaryrefslogtreecommitdiff
path: root/INSTALL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.sh')
-rwxr-xr-xINSTALL.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/INSTALL.sh b/INSTALL.sh
index ab9d501..daf0e9c 100755
--- a/INSTALL.sh
+++ b/INSTALL.sh
@@ -1,4 +1,14 @@
#!/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 -- \
@@ -7,3 +17,7 @@ sudo pacman -S --needed -- \
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