Merge branch '31-camunda-add-readme' into 'master'
authorMichael Winsauer <e1429715@student.tuwien.ac.at>
Sun, 25 Nov 2018 22:27:12 +0000 (23:27 +0100)
committerMichael Winsauer <e1429715@student.tuwien.ac.at>
Sun, 25 Nov 2018 22:27:12 +0000 (23:27 +0100)
add readme, rename option

Closes #31

See merge request aic18/G6T4!22

camunda-overlay/README.md [new file with mode: 0644]
camunda-overlay/camunda.py

diff --git a/camunda-overlay/README.md b/camunda-overlay/README.md
new file mode 100644 (file)
index 0000000..66b0767
--- /dev/null
@@ -0,0 +1,22 @@
+# Camunda process manager
+
+Run ```./camunda.py``` to just deploy the process.
+
+## Flags
+
+```--autoclick 1```: will deploy the process and run it with three terms.
+Result should be available in Camunda Tasklist -> All Tasks
+
+```--autoclick 2```: will deploy the process, run it with three terms, and tries to download the pdf
+
+```--no-deploy```: do not deploy the process, probably only useful with the autoclick-flag
+
+```--no-cleanup```: do not remove old deployments, keep tasks running (might be confusing if there are multiple deployments)
+
+## Default login
+
+URI: http://localhost:8080/camunda/
+
+User: demo
+
+Pass: demo
index da4e5d76a93d1cd97db36280dc433c8e7963fb75..8ecaa0c027b984fad8798c7ddf6b35b6eb218d74 100755 (executable)
@@ -79,7 +79,7 @@ def submit_terms(terms):
 
 if __name__ == "__main__":
     parser = argparse.ArgumentParser()
-    parser.add_argument('--deploy', dest='deploy', default=True, action='store_false', help="Do deployment step")
+    parser.add_argument('--no-deploy', dest='deploy', default=True, action='store_false', help="Do not run the deployment step")
     parser.add_argument('--no-cleanup', dest='cleanup', default=True, action='store_false', help="Initial deploy does not need cleanup")
     parser.add_argument('--autoclick', dest='autoclick', type=int, default=0, help="How many steps to autoclick")
     args = parser.parse_args()