Browse Source

update run

kevin 2 years ago
parent
commit
2cf9ae8307
1 changed files with 2 additions and 1 deletions
  1. 2 1
      run.sh

+ 2 - 1
run.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 
-source venv/bin/activate
+ABSPATH=$(cd "$(dirname "$0")"; pwd -P)
+source "$ABSPATH"/venv/bin/activate
 gunicorn -w 8 -b 0.0.0.0:8349 wsgi:app