Updated dependencies of manual setup

- apt install of nodejs installs an unsupported (V10.X) version
- dependencies for python-ldap were missing
This commit is contained in:
MaxJa4 2022-03-11 10:16:55 +01:00 committed by GitHub
parent 091fab154a
commit 8bc361ee7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,9 +19,25 @@ Give the user permissions: `chown -R recipes:www-data /var/www/recipes`
Create virtual env: `python3.9 -m venv /var/www/recipes`
Install Javascript Tools
Install Javascript Tools (nodejs >= 12 required)
```shell
### Just use one of these possibilites!
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
# Using a RPM based distro
## ... as root
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
## ... no root privileges
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
```
```shell
sudo apt install nodejs
sudo npm install --global yarn
```
@ -31,6 +47,12 @@ sudo npm install --global yarn
sudo apt install libpq-dev postgresql
```
### Install LDAP requirements
```shell
sudo apt install libsasl2-dev python-dev libldap2-dev libssl-dev
```
###Install project requirements
!!! warning "Update"