mirror of
https://github.com/ArcaneChat/server.git
synced 2026-07-03 14:05:37 +02:00
17 lines
393 B
Bash
Executable File
17 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ $(lsb_release -is 2> /dev/null) == "Ubuntu" || $(lsb_release -is 2> /dev/null) == "Debian" ]]
|
|
then
|
|
if [ $(dpkg -l | grep python3-dev 2>&1 /dev/null) ]
|
|
then
|
|
echo "You need to install python3-dev for installing the other dependencies."
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
python3 -m venv --upgrade-deps venv
|
|
|
|
venv/bin/pip install -e chatmaild
|
|
venv/bin/pip install -e cmdeploy
|