Add python to dependencies

Needed for some node-gyp packages
This commit is contained in:
Norm 2022-07-29 06:29:45 +00:00 committed by Francis Dinh
parent 7a39c74a78
commit 58fafc121f
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -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`