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>
This commit is contained in:
kingbri 2023-11-20 01:48:06 -05:00
parent 2aa9c145be
commit c92ee24bb4

10
Start.bat Normal file
View file

@ -0,0 +1,10 @@
@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