Skip to content
Snippets Groups Projects
Commit 271fc6ee authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix remove APP_PATH

parent 27fe3e44
Branches
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ fi
LOG_FILE=${HOME_DIR}log/SEPTREFHUM.log
REQUIREMENTS=${HOME_DIR}requirements.txt
cd $APP_PATH
cd $HOME_DIR
# Create and activate the virtual environment
python3 -m venv .venv
......@@ -57,7 +57,7 @@ pip install -q -r $REQUIREMENTS
# Run the model
echo "==== `date`: Running model" &>> "$LOG_FILE"
python3 $HOME_DIR/SEPTREFHUM.py &>> "$LOG_FILE"
python3 ${HOME_DIR}SEPTREFHUM.py &>> "$LOG_FILE"
echo "==== `date`: DONE running model" &>> "$LOG_FILE"
# Deactivate the virtual environment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment