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

Remove APP_PATH

parent 329ad762
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,8 @@ then
fi
# Paths to scripts and requirements
APP_PATH=${HOME_DIR}SEPTREFHUM/
LOG_FILE=${APP_PATH}log/SEPTREFHUM.log
REQUIREMENTS=${APP_PATH}requirements.txt
LOG_FILE=${HOME_DIR}log/SEPTREFHUM.log
REQUIREMENTS=${HOME_DIR}requirements.txt
cd $APP_PATH
......@@ -58,7 +57,7 @@ pip install -q -r $REQUIREMENTS
# Run the model
echo "==== `date`: Running model" &>> "$LOG_FILE"
python3 $APP_PATH/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