forked from FoundKeyGang/FoundKey
Add python to dependencies
Needed for some node-gyp packages
This commit is contained in:
parent
7a39c74a78
commit
58fafc121f
1 changed files with 2 additions and 3 deletions
|
@ -24,6 +24,7 @@ FoundKey requires the following packages to run:
|
||||||
* **[PostgreSQL](https://www.postgresql.org/)** (12.x / 13.x is preferred)
|
* **[PostgreSQL](https://www.postgresql.org/)** (12.x / 13.x is preferred)
|
||||||
* **[Redis](https://redis.io/)**
|
* **[Redis](https://redis.io/)**
|
||||||
* A C/C++ compiler toolchain like **GCC** or **Clang**.
|
* A C/C++ compiler toolchain like **GCC** or **Clang**.
|
||||||
|
* **[Python](https://python.org/)** (3.x)
|
||||||
|
|
||||||
##### Optional
|
##### Optional
|
||||||
* [Yarn](https://yarnpkg.com/) - *Optional but recommended for security reasons. If you won't install it, use `npx yarn` instead of `yarn`.*
|
* [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:
|
To install the dependiencies on Debian (or derivatives like Ubuntu) you can use the following commands:
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
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
|
# Optional dependencies
|
||||||
apt install ffmpeg
|
apt install ffmpeg
|
||||||
|
@ -73,8 +74,6 @@ Build foundkey with the following:
|
||||||
|
|
||||||
`NODE_ENV=production yarn build`
|
`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:
|
If you're still encountering errors about some modules, use node-gyp:
|
||||||
|
|
||||||
1. `npx node-gyp configure`
|
1. `npx node-gyp configure`
|
||||||
|
|
Loading…
Reference in a new issue