10 lines
189 B
Bash
Executable File
10 lines
189 B
Bash
Executable File
#!/bin/bash
|
|
if ! (cd "$(dirname "$0")" && cd ..); then
|
|
echo 进入项目根目录失败
|
|
exit 1
|
|
fi
|
|
|
|
python3 -m venv ./venv
|
|
source ./venv/bin/activate
|
|
pip install -r requirements.txt
|