Skip to content

Commit

Permalink
updating the run script for the user frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed Feb 18, 2024
1 parent ec8fb0a commit e3240ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codeGrader/frontend/user/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
init file for the user Frontend
@author: mkaiser
"""
from .app import user_frontend
from .app import user_frontend
4 changes: 2 additions & 2 deletions codeGrader/scripts/cgUserFrontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
import sys
from codeGrader.frontend.user import user_frontend
import os

import subprocess

def main():
"""
Starting a new instance of the EvaluationService
@return:
"""
os.chdir("/usr/local/lib/python3.11/dist-packages/codeGrader/frontend/user")
user_frontend()
p1 = subprocess.run("python3 app.py", shell=True, text=True, capture_output=True)


if __name__ == '__main__':
Expand Down

0 comments on commit e3240ec

Please sign in to comment.