add initial complete webui, more ai commands for moderation, add api
This commit is contained in:
parent
19e794e34c
commit
173d4e7a52
112 changed files with 8176 additions and 780 deletions
19
start-services.sh
Normal file
19
start-services.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Starting BOT..."
|
||||
cd /usr/src/app
|
||||
bun start 2>&1 | sed "s/^/[BOT] /" &
|
||||
BOT_PID=$!
|
||||
echo "BOT started with PID $BOT_PID"
|
||||
|
||||
echo "Starting WEBUI..."
|
||||
cd /usr/src/app/webui
|
||||
bun run start 2>&1 | sed "s/^/[WEBUI] /" &
|
||||
WEBUI_PID=$!
|
||||
echo "WEBUI started with PID $WEBUI_PID"
|
||||
|
||||
echo "Services started:"
|
||||
echo " Bot PID: $BOT_PID"
|
||||
echo " WebUI PID: $WEBUI_PID"
|
||||
|
||||
wait $BOT_PID $WEBUI_PID
|
Loading…
Add table
Add a link
Reference in a new issue