From 2e3cd5677da1bb132bd4b03a3d750986e814979d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 15 Nov 2022 20:19:53 -0800 Subject: [PATCH] docs: :memo: open port tip --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c445b91bf4..2688c71a95 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,7 @@ docker compose up -d ## 😉 Tips & Tricks - When editing the config file, please don't fill out the settings at the bottom. They're designed *only* for managed hosting, not self hosting. Those settings are much better off being set in Calckey's control panel. +- Port 3000 (used in the default config) might be already used on your server for something else. To find an open port for Calckey, run `for p in $(seq 3000 4000); do ss -tlnH | tr -s ' ' | cut -d" " -sf4 | grep -q "${p}$" || echo "${p}"; done | head -n 1` - I'd ***strongly*** recommend against using CloudFlare, but if you do, make sure to turn code minification off. - For push notifications, run `npx web-push generate-vapid-keys`, the put the public and private keys into Control Panel > General > ServiceWorker. - For translations, make a [DeepL](https://deepl.com) account and generate an API key, then put it into Control Panel > General > DeepL Translation.