Etherpad

From Modding Fridays
Jump to navigation Jump to search

Quick run-your-own (local) Etherpad installation tutorial for a PostmarketOS workshop at the HGB Leipzig.
From: Github: Etherpad-Lite

Prerequisites

Installation

1. Download the latest Node.js runtime from nodejs.org.

  • We can use Alpine's package manager (APK) to install
sudo apk add nodejs
  • We also need npm, that is usually installed with nodejs, but not with Alpine :(
sudo apk add npm

2. Install pnpm (p = performant, low-storage npm):

sudo npm install -g pnpm

3. Install git & clone the repository

sudo apk add git
sudo git clone -b master https://github.com/ether/etherpad-lite.git

4. Change to the copied directory

cd etherpad-lite/

5. Build

sudo pnpm i
sudo pnpm run build:etherpad

6. Go live

sudo pnpm run prod

7. Done!