add readme, rename option
authorDavid Kaufmann <david.kaufmann@student.tuwien.ac.at>
Sun, 25 Nov 2018 19:28:32 +0000 (20:28 +0100)
committerDavid Kaufmann <david.kaufmann@student.tuwien.ac.at>
Sun, 25 Nov 2018 19:28:32 +0000 (20:28 +0100)
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..aef79ec
--- /dev/null
@@ -0,0 +1,16 @@
+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
+
+```--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()