]> WPIA git - motion.git/blobdiff - README.md
fix: ensure unit test run without external FLASK_APP
[motion.git] / README.md
index e06c09e865173400a41156b66c1d2ea491c9761c..5470c43401c205db452a92c6448d8374a6d08e06 100644 (file)
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ The following user rights can be granted:
 - cancel: user is able to cancel a running motion
 - finish: user is able to close a running motion
 - audit: user is able to see given votes of a finished motion
+- proxyadmin: user is able to grant proxy rights for users
 
 To grant right use the following (here with vote right as example):
 - on all groups add "vote:*"
@@ -179,3 +180,24 @@ Add Publish JUnit test result report - test report XMLs
 ```
 python_tests_xml/*
 ```
+
+## Add user via command line
+
+For linux start with
+```
+FLASK_APP=motion.py
+```
+
+For windows start with
+```
+set FLASK_APP=motion.py
+
+```
+
+To add a user use this command
+```
+flask create-user "email address"
+
+```
+
+The application will return a message for the success.