2023-03-31 22:45:04 +00:00
|
|
|
@echo off
|
|
|
|
:: Check if there are any changes that need to be committed
|
|
|
|
git status --short
|
|
|
|
if %errorlevel%==1 (
|
|
|
|
echo There are changes that need to be committed. Please stash or undo your changes before running this script.
|
|
|
|
exit
|
|
|
|
)
|
|
|
|
|
|
|
|
:: Pull the latest changes from the remote repository
|
|
|
|
git pull
|
|
|
|
|
|
|
|
:: Activate the virtual environment
|
2023-04-01 17:39:47 +00:00
|
|
|
call .\venv\Scripts\activate.bat
|
2023-03-31 22:45:04 +00:00
|
|
|
|
|
|
|
:: Upgrade the required packages
|
|
|
|
pip install --upgrade -r requirements.txt
|