Skip to content
Snippets Groups Projects
Commit f6251d10 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Replace COMs with BATs for server startup and code update

parent 86505182
No related branches found
No related tags found
No related merge requests found
@echo off
set actbat=%userprofile%\AppData\Local\mambaforge\Scripts\activate.bat
set pyscripts=%userprofile%\model_server
call %actbat%
call mamba activate model_server_env
cd %pyscripts%
call python -m model_server.scripts.run_server --port 6221
pause
\ No newline at end of file
File deleted
@echo off
rem set src=%userprofile%\model_server
set srcs=(model_server)
for %%s in %srcs% do (
echo:
echo Updating %%s ...
if not exist %userprofile%\%%s (
echo ERROR!
echo Could not find file %userprofile%\%%s
) else (
cd %userprofile%\%%s
call git checkout master
call git pull origin
)
)
echo:
pause
\ No newline at end of file
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment