Automatische Installation der Python Virtual Environment, falls diese noch nicht exisitert
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@echo off
|
||||
call cremig_setenv.bat
|
||||
call %CREMIG%\.venv\Scripts\activate.bat
|
||||
if "%1" == "-s" (set SIVAS_ID=%2) else (set /p SIVAS_ID=Enter Sivas ID:)
|
||||
CALL cremig_setenv.bat
|
||||
IF NOT EXIST %CREMIG%\.venv CALL %CREMIG_BIN%\install_py.bat
|
||||
CALL %CREMIG%\.venv\Scripts\activate.bat
|
||||
IF "%1" == "-s" (set SIVAS_ID=%2) else (set /p SIVAS_ID=Enter Sivas ID:)
|
||||
python %CREMIG_LIB%\update_database.py --sivas=%SIVAS_ID%
|
||||
deactivate
|
||||
|
||||
Reference in New Issue
Block a user