venv script grabber added

This commit is contained in:
Ramzi Idir 2026-01-20 21:22:28 +01:00
parent 6a64ee2155
commit 9eefdd344c
2 changed files with 27 additions and 0 deletions

View File

@ -365,6 +365,14 @@ python_venv() {
source gbvenv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
if [ ! -d "./static" ]; then
echo "static folder doesn't exist, creating one..."
mkdir static
fi
if [ ! -d "./ordi1" ]; then
echo "1st computer folder doesn't exist, creating one..."
mkdir ordi1
fi
uvicorn app:app --reload --host 0.0.0.0 --port 8000
}

View File

@ -21,3 +21,22 @@ starlette==0.50.0
typing-inspection==0.4.2
typing_extensions==4.15.0
uvicorn==0.40.0
annotated-doc==0.0.4
annotated-types==0.7.0
anyio==4.12.1
certifi==2026.1.4
charset-normalizer==3.4.4
click==8.3.1
fastapi==0.128.0
h11==0.16.0
idna==3.11
Jinja2==3.1.6
MarkupSafe==3.0.3
pydantic==2.12.5
pydantic_core==2.41.5
requests==2.32.5
starlette==0.50.0
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==2.6.3
uvicorn==0.40.0