aboutsummaryrefslogtreecommitdiff
path: root/playground
diff options
context:
space:
mode:
Diffstat (limited to 'playground')
-rwxr-xr-xplayground/calculate/run.sh5
-rwxr-xr-xplayground/server/run.sh6
2 files changed, 8 insertions, 3 deletions
diff --git a/playground/calculate/run.sh b/playground/calculate/run.sh
index 8daac94..b1670e3 100755
--- a/playground/calculate/run.sh
+++ b/playground/calculate/run.sh
@@ -1,6 +1,9 @@
#!/bin/bash
-PYTHONPATH=../../src_py python -m opcut calculate \
+PYTHONPATH=../../src_py python -m opcut \
+ --json-schemas-path ../../schemas_json \
+ --ui-path ../../build/js \
+ calculate \
--params params.yaml \
--result result.yaml \
--output output.pdf \
diff --git a/playground/server/run.sh b/playground/server/run.sh
index 3db7a13..887442e 100755
--- a/playground/server/run.sh
+++ b/playground/server/run.sh
@@ -1,5 +1,7 @@
#!/bin/bash
-PYTHONPATH=../../src_py python -m opcut server \
- --ui-path ../../build/jsopcut \
+PYTHONPATH=../../src_py python -m opcut \
+ --json-schemas-path ../../schemas_json \
+ --ui-path ../../build/js \
+ server \
$*