Skip to content

Commit 9047214

Browse files
committed
fix: Set env var DATABASE_TYPE="sqlite" in the dev_environment configs
1 parent 9a9cb10 commit 9047214

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

examples/dev_environment/grader_service_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
print("### loading service config")
1717

18+
# The database used in this setup is SQLite
19+
os.environ["DATABASE_TYPE"] = "sqlite"
20+
1821
c.GraderService.service_host = "127.0.0.1"
1922
# existing directory to use as the base directory for the grader service
2023
service_dir = os.path.join(os.getcwd(), "service_dir")

examples/dev_environment/grader_service_config_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
logger.info("### loading service config")
1717

18+
# The database used in this setup is SQLite
19+
os.environ["DATABASE_TYPE"] = "sqlite"
20+
1821
c.GraderService.service_host = "127.0.0.1"
1922
# existing directory to use as the base directory for the grader service
2023
service_dir = os.path.join(os.getcwd(), "service_dir")

0 commit comments

Comments
 (0)