From bc69ecbda50cd7dff0e7ec01762d80ae0de5bc87 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 6 Feb 2023 16:17:16 -0500 Subject: [PATCH] start script for windows --- launch_chatbot.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 launch_chatbot.bat diff --git a/launch_chatbot.bat b/launch_chatbot.bat new file mode 100644 index 0000000000..0e716a13a7 --- /dev/null +++ b/launch_chatbot.bat @@ -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 +