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:
@ -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`
|
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
|
```shell
|
||||||
sudo apt install nodejs
|
|
||||||
sudo npm install --global yarn
|
sudo npm install --global yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -31,6 +47,12 @@ sudo npm install --global yarn
|
|||||||
sudo apt install libpq-dev postgresql
|
sudo apt install libpq-dev postgresql
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install LDAP requirements
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo apt install libsasl2-dev python-dev libldap2-dev libssl-dev
|
||||||
|
```
|
||||||
|
|
||||||
###Install project requirements
|
###Install project requirements
|
||||||
|
|
||||||
!!! warning "Update"
|
!!! warning "Update"
|
||||||
|
Reference in New Issue
Block a user