diff --git a/OpenBench/utils.py b/OpenBench/utils.py index 2ef4eec..107cc3f 100644 --- a/OpenBench/utils.py +++ b/OpenBench/utils.py @@ -175,7 +175,7 @@ def workloadDictionary(machine, result, test): 'test' : { 'id' : test.id, 'bookname' : test.bookname, - 'booksource' : FRAMEWORK_REPO_URL + '/raw/master/Books/', + 'booksource' : FRAMEWORK_REPO_URL + 'raw/master/Books/' + test.bookname, 'timecontrol' : test.timecontrol, 'dev' : { 'id' : test.dev.id, diff --git a/cleanup.sh b/cleanup.sh index be0446c..3bd99e3 100644 --- a/cleanup.sh +++ b/cleanup.sh @@ -8,3 +8,5 @@ rm -r OpenSite/__pycache__/* python3 manage.py makemigrations python3 manage.py migrate python3 manage.py migrate --run-syncdb + +winpty python3 manage.py createsuperuser \ No newline at end of file diff --git a/run.sh b/run.sh index c5e8a50..62d938c 100644 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/sh -python3 manage.py runserver 127.0.0.1:12345 +python3 -u manage.py runserver 192.168.7.29:8000