aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-02-09 14:35:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-02-09 14:35:15 -0300
commit64048046fd156aa88a03cdbbf4d4cae6e6a7ce5a (patch)
treea543a51d4fc9293ba85a7ffbad8b00213fd92318
parent11193c3d00c897b681a744b8f432e0093f2053c3 (diff)
downloadtrashman-64048046fd156aa88a03cdbbf4d4cae6e6a7ce5a.tar.gz
trashman-64048046fd156aa88a03cdbbf4d4cae6e6a7ce5a.tar.bz2
Feat: adds gollum
-rw-r--r--share/trashman/gollum/info1
-rwxr-xr-xshare/trashman/gollum/unix/linux/debian/install18
2 files changed, 19 insertions, 0 deletions
diff --git a/share/trashman/gollum/info b/share/trashman/gollum/info
new file mode 100644
index 0000000..f6fc521
--- /dev/null
+++ b/share/trashman/gollum/info
@@ -0,0 +1 @@
+a simple, Git-powered wiki with a sweet API and local frontend
diff --git a/share/trashman/gollum/unix/linux/debian/install b/share/trashman/gollum/unix/linux/debian/install
new file mode 100755
index 0000000..f3a1404
--- /dev/null
+++ b/share/trashman/gollum/unix/linux/debian/install
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+#
+# Installs gollum.
+#
+
+# Parameters
+SHARE="$1"
+
+# Include basic functions
+. $SHARE/trashman/functions || exit 1
+. $SHARE/trashman/debian || exit 1
+
+# See https://rubygems.org/gems/gollum
+# https://github.com/gollum/gollum
+# https://www.atlantic.net/vps-hosting/how-to-setup-a-github-style-wiki-using-gollum-on-debian-10/
+# https://retifrav.github.io/blog/2021/01/07/gollum-markdown-wiki/
+trashman_apt_install ruby ruby-rubygems ruby-dev cmake libssl-dev pkg-config build-essential zlib1g-dev libicu-dev git
+gem install gollum