Files
tabbyAPI/Start.bat
kingbri c92ee24bb4 Tree: Add batch script
A simple batch script to activate a venv and start TabbyAPI. This
can be used with nssm in Windows for a systemd-like background service.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-11-20 01:48:06 -05:00

11 lines
192 B
Batchfile

@echo off
set VENV_DIR=
if not defined PYTHON (set PYTHON=python)
if not defined VENV_DIR (set "VENV_DIR=%~dp0%venv")
call "%VENV_DIR%\Scripts\activate.bat"
call pip -V
call python main.py