Auto-update: Fri Aug 2 13:50:51 PDT 2024

This commit is contained in:
sanj 2024-08-02 13:50:51 -07:00
parent d29e53e16a
commit 46ea7306f9
2 changed files with 23 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

23
sij Executable file
View file

@ -0,0 +1,23 @@
#!/bin/bash
# Set the path to the script
SCRIPT_PATH="$HOME/workshop/sijapi/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 "$HOME/workshop/sijapi/sijapi/config/.env"
# Activate the conda environment (adjust the path if necessary)
source "$HOME/miniforge3/bin/activate" sijapi
# Run the Python script
python "$SCRIPT_PATH"
# Deactivate the conda environment
conda deactivate