Skip to content

Commit

Permalink
Update INSTALL.md for ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
RignonNoel authored Jun 5, 2023
1 parent c4408ed commit fe8aa85
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Installing Sous-Chef

These instructions document how to install Sous-Chef on Debian 10.
These instructions document how to install Sous-Chef on Ubuntu 22.04.

To update an existing installation, see [UPDATE.md](UPDATE.md).

Expand All @@ -9,17 +9,26 @@ To update an existing installation, see [UPDATE.md](UPDATE.md).
Become root, then install the dependencies.

```
apt install mariadb-server nginx libnginx-mod-http-fancyindex gdal-bin python3 \
python3-pip libmariadb-dev-compat
sudo su -
apt install --no-install-recommends mariadb-server nginx libnginx-mod-http-fancyindex gdal-bin python3 \
python3-pip libmariadb-dev-compat build-essential
# Install python 3.7 (old version)
add-apt-repository ppa:deadsnakes/ppa -y
apt update
apt install --no-install-recommends python3.7 python3.7-distutils python3.7-dev
wget https://bootstrap.pypa.io/get-pip.py
python3.7 get-pip.py
# Invoke pip with 'python3 -m pip' to avoid a warning about a wrapper script
python3 -m pip install -U pip certifi
python3 -m pip install gunicorn
python3 -m pip install souschef
python3.7 -m pip install -U pip certifi
python3.7 -m pip install gunicorn
python3.7 -m pip install souschef
```

To install a development version of Sous-Chef from the PyPI test index, run:
```
python3 -m pip install --extra-index-url https://test.pypi.org/simple/ souschef==1.3.0.dev2
python3.7 -m pip install --extra-index-url https://test.pypi.org/simple/ souschef==1.3.0.dev2
```

2. Configure the database
Expand Down

0 comments on commit fe8aa85

Please sign in to comment.