start script for windows

This commit is contained in:
Brandon Thomas 2023-02-06 16:17:16 -05:00
parent 5f35323a5f
commit bc69ecbda5
1 changed files with 10 additions and 0 deletions

10
launch_chatbot.bat Normal file
View File

@ -0,0 +1,10 @@
REM Comments on windows use "REM". Weird-ass platform.
REM Make sure migrations are up to date
pushd crates\programs\aichatbot-sidecar
diesel migration run
popd
REM Start the sidecar
DATABASE_URL=sqlite://runtime_data/database.db cargo run --bin aichatbot-sidecar