diff --git a/src/wgd.sh b/src/wgd.sh index cdb616b..c2ef55a 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -39,8 +39,8 @@ _check_and_set_venv(){ printf "[WGDashboard] Creating Python Virtual Environment under ./venv\n" { python3 -m venv $VIRTUAL_ENV; } >> ./log/instal.txt fi -# printf "[WGDashboard] Activate Python Virtual Environment under ./venv\n" -# . ${VIRTUAL_ENV}/bin/activate + printf "[WGDashboard] Activate Python Virtual Environment under ./venv\n" + . ${VIRTUAL_ENV}/bin/activate } _determineOS(){ @@ -206,9 +206,9 @@ install_wgd(){ fi _check_and_set_venv printf "[WGDashboard] Upgrading Python Package Manage (PIP)\n" - { date; ./venv/bin/python3 -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" - { date; ./venv/bin/python3 -m pip install -r requirements.txt ; printf "\n\n"; } >> ./log/install.txt + { date; python3 -m pip install -r requirements.txt ; printf "\n\n"; } >> ./log/install.txt printf "[WGDashboard] WGDashboard installed successfully!\n" printf "[WGDashboard] Enter ./wgd.sh start to start the dashboard\n" }