Merge pull request #1643 from MaxJa4/patch-1

Updated dependencies of manual setup
This commit is contained in:
vabene1111 2022-03-15 11:35:33 +01:00 committed by GitHub
commit 70716bf99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,19 +19,44 @@ 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
```
!!! info "NodeJS installation issues"
If you run into problems with the NodeJS installation, please refer to the [official documentation](https://github.com/nodesource/distributions/blob/master/README.md).
### Install postgresql requirements
```shell
sudo apt install libpq-dev postgresql
```
###Install project requirements
### Install LDAP requirements
```shell
sudo apt install libsasl2-dev python-dev libldap2-dev libssl-dev
```
### Install project requirements
!!! warning "Update"
Dependencies change with most updates so the following steps need to be re-run with every update or else the application might stop working.