mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Update wgd.sh
This commit is contained in:
parent
56044fa3f7
commit
0dfda83e45
@ -55,6 +55,8 @@ _check_and_set_venv(){
|
|||||||
printf "[WGDashboard] %s Python Virtual Environment under ./venv failed to create. Halting now.\n" "$heavy_crossmark"
|
printf "[WGDashboard] %s Python Virtual Environment under ./venv failed to create. Halting now.\n" "$heavy_crossmark"
|
||||||
kill -s TERM $TOP_PID
|
kill -s TERM $TOP_PID
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
. ${VIRTUAL_ENV}/bin/activate
|
||||||
}
|
}
|
||||||
|
|
||||||
_determineOS(){
|
_determineOS(){
|
||||||
@ -244,7 +246,7 @@ install_wgd(){
|
|||||||
fi
|
fi
|
||||||
_check_and_set_venv
|
_check_and_set_venv
|
||||||
printf "[WGDashboard] Upgrading Python Package Manage (PIP)\n"
|
printf "[WGDashboard] Upgrading Python Package Manage (PIP)\n"
|
||||||
{ date; $venv_python -m pip install pip; printf "\n\n"; } >> ./log/install.txt
|
{ date; python3 -m pip install pip; printf "\n\n"; } >> ./log/install.txt
|
||||||
printf "[WGDashboard] Installing latest Python dependencies\n"
|
printf "[WGDashboard] Installing latest Python dependencies\n"
|
||||||
{ date; $venv_python -m pip install -r requirements.txt ; printf "\n\n"; } >> ./log/install.txt
|
{ date; $venv_python -m pip install -r requirements.txt ; printf "\n\n"; } >> ./log/install.txt
|
||||||
printf "[WGDashboard] WGDashboard installed successfully!\n"
|
printf "[WGDashboard] WGDashboard installed successfully!\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user