/* Doku */ etherpad-lite 1.7.0 braucht neueres npm.
authorDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki>
Sat, 25 Aug 2018 09:28:07 +0000 (09:28 +0000)
committerDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki>
Sat, 25 Aug 2018 09:28:07 +0000 (09:28 +0000)
Gapadriel.mw

index 9e4eb62..638d6a1 100644 (file)
 * Netzwerk intern, per DHCP
 * HTTP kommt über [[gandolf]] als (SSL-)Proxy
 
+=== Node.js / npm ===
+
+Debian hat kein npm mehr. Etherpad braucht npm. (Keine schöne, aber eine) Lösung: [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions]
+
+ sudo apt install apt-transport-https
+ NODEREPO="node_10.x"
+ DISTRO=$(lsb_release -c -s)
+ echo "deb-src https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
+ wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key
+ sudo apt-key add nodesource.gpg.key
+ sudo apt update
+ sudo apt install nodejs   # bringt npm mit
+
 === Etherpad ===
 Etherpad-Lite liegt als Git-Repo in <tt>/var/lib/etherpad/etherpad-lite</tt>, wird aus <tt>[https://stratum0.org/wiki/Gapadriel/etherpad-service?action=raw /etc/systemd/system/etherpad.service]</tt> als User <tt>etherpad</tt> gestartet und loggt nach <tt>/var/log/syslog</tt>.
 
@@ -51,6 +64,9 @@ Etherpad-Updates etc. bitte per <tt>sudo</tt>, nicht <tt>sudo -u etherpad</tt>.
  systemctl stop etherpad.service
  sudo git rebase -i $version
  sudo bin/installDeps.sh  # und dann warten.
+ # wd fails. https://github.com/admc/wd/issues/483#issuecomment-410725658
+ suod npm install --unsafe-perm wd
+ sudo bin/installDeps.sh  # und dann warten.
  systemctl start etherpad.service
 
 ==== Plugins installieren ====
This page took 0.023778 seconds and 4 git commands to generate.