Skip to content

Selfhosting

eclips_e edited this page Jul 4, 2022 · 1 revision

Selfhost

Welcome brave soul to the Selfhosting guide!

Setup

1. Install the required native dependencies.

Debian (bookworm)/Ubuntu (22.04 or later)

sudo apt-get install git nodejs python

Alpine

doas apk add git nodejs python

Arch/Manjaro

sudo pacman -S git nodejs python

2. Clone the repo

Clone the repo with git

cd ~
git clone --recurse-submodules https://github.com/Spesships/Multitool
cd Multitool 

3. Let the Python script do the work

The script has a built in fetcher so don't worry about running git pull every time theres a new update.

python RUN_THIS.py

4. (Optional) Change the NODE_ENV to production

export NODE_ENV=production

5. Configure

Configuring Multitool is long, if you want an indepth guide, check out the Configuration guide

Copy .env.example to .env and change the values respectively.

6. Run index.js

Simply:

node index.js

Clone this wiki locally