19 lines
365 B
Bash
19 lines
365 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Set the path to the script
|
||
|
SCRIPT_PATH="./sijapi/helpers/start.py"
|
||
|
|
||
|
# Check if the script exists
|
||
|
if [ ! -f "$SCRIPT_PATH" ]; then
|
||
|
echo "Error: Script not found at $SCRIPT_PATH"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# Set up the environment
|
||
|
source "./sijapi/config/.env"
|
||
|
|
||
|
# Run the Python script
|
||
|
python "$SCRIPT_PATH"
|
||
|
|
||
|
# Deactivate the conda environment
|
||
|
conda deactivate
|