mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 13:25:19 +00:00
movi, el script
This commit is contained in:
11
start_bot.sh
Executable file
11
start_bot.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Script to start the Talia Bot with correct PYTHONPATH
|
||||
|
||||
# Get the directory of the script
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Set PYTHONPATH to include the parent directory
|
||||
export PYTHONPATH="$PYTHONPATH:$DIR/.."
|
||||
|
||||
# Run the bot
|
||||
python3 "$DIR/talia_bot/main.py"
|
||||
Reference in New Issue
Block a user