File size: 609 Bytes
af1bee9
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
@echo off

rem Patchwise launcher (Windows). Mock app only, never Oracle Fusion.

rem   fpt setup | up | down | api | mock | web-dev | desktop | package | create-user | test | selftest | kill | unkill | run | resume
setlocal
cd /d %~dp0
if not exist architecture\.venv\Scripts\python.exe py -3.13 -m venv architecture\.venv
if /I "%1"=="setup" (
  architecture\.venv\Scripts\python.exe -c "import fastapi, argon2, pydantic_settings" 2>nul || architecture\.venv\Scripts\python.exe -m pip install -r coworker\requirements.txt
)
architecture\.venv\Scripts\python.exe -m coworker %*
exit /b %ERRORLEVEL%