mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
venv fix for debian?
This commit is contained in:
parent
7569685512
commit
79ba7eb4a1
@ -2,7 +2,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor
|
sudo apt install -y git python3-pip python3-virtualenv python3-venv nginx ffmpeg redis supervisor
|
||||||
|
|
||||||
if [[ -r /etc/os-release ]]; then
|
if [[ -r /etc/os-release ]]; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
@ -45,7 +45,8 @@ sudo sed -i 's/^\(\s\{0,\}\)\(include \/etc\/nginx\/sites-enabled\/\*;\)$/\1#\2/
|
|||||||
sudo sed -i 's/}/ application\/wasm wasm;\n}/g' /etc/nginx/mime.types
|
sudo sed -i 's/}/ application\/wasm wasm;\n}/g' /etc/nginx/mime.types
|
||||||
sudo nginx -s reload
|
sudo nginx -s reload
|
||||||
|
|
||||||
virtualenv -p python3 .venv
|
python3 -m venv .venv
|
||||||
|
.venv/bin/pip install --upgrade pip wheel setuptools
|
||||||
.venv/bin/pip install -r requirements.txt
|
.venv/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
sudo mkdir -p /var/log/taiko-web
|
sudo mkdir -p /var/log/taiko-web
|
||||||
|
Loading…
Reference in New Issue
Block a user