From 58fafc121fe9632a1fcd73d279f6d3dbf90f0bf1 Mon Sep 17 00:00:00 2001 From: Norm Date: Fri, 29 Jul 2022 06:29:45 +0000 Subject: [PATCH] Add python to dependencies Needed for some node-gyp packages --- docs/INSTALL.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index b8c4433a1..73ab169ee 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -24,6 +24,7 @@ FoundKey requires the following packages to run: * **[PostgreSQL](https://www.postgresql.org/)** (12.x / 13.x is preferred) * **[Redis](https://redis.io/)** * A C/C++ compiler toolchain like **GCC** or **Clang**. +* **[Python](https://python.org/)** (3.x) ##### Optional * [Yarn](https://yarnpkg.com/) - *Optional but recommended for security reasons. If you won't install it, use `npx yarn` instead of `yarn`.* @@ -32,7 +33,7 @@ FoundKey requires the following packages to run: To install the dependiencies on Debian (or derivatives like Ubuntu) you can use the following commands: ```sh curl -fsSL https://deb.nodesource.com/setup_16.x | bash - -apt install build-essential nodejs postgresql redis +apt install build-essential python nodejs postgresql redis # Optional dependencies apt install ffmpeg @@ -73,8 +74,6 @@ Build foundkey with the following: `NODE_ENV=production yarn build` -If you're on Debian, you will need to install the `build-essential`, `python` package. - If you're still encountering errors about some modules, use node-gyp: 1. `npx node-gyp configure`