aboutsummaryrefslogtreecommitdiff
path: root/playground
diff options
context:
space:
mode:
authorbozo.kopic <bozo.kopic@gmail.com>2020-04-11 02:42:27 +0200
committerbozo.kopic <bozo.kopic@gmail.com>2020-04-11 02:42:27 +0200
commit816d4add6f017775bc1f6607e392bfb71e393ffa (patch)
tree33a25a5b7420c9a1d4d606b312748a5a7426a0b8 /playground
parentf8ab65b277c2eb7b9ed0e6d78f0302d388e0eff0 (diff)
repository refactoring
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 \
$*