mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
def45ff217
Signed-off-by: Eduard Aksamitov <e@euaaaio.ru>
22 lines
737 B
Bash
Executable File
22 lines
737 B
Bash
Executable File
# Create workspace record in accounts
|
|
./tool-local.sh create-workspace sanity-ws -w SanityTest
|
|
# Create user record in accounts
|
|
./tool-local.sh create-account user1 -f John -l Appleseed -p 1234
|
|
./tool-local.sh confirm-email user1
|
|
# Create second user record in accounts
|
|
./tool-local.sh create-account user2 -f Kainin -l Dirak -p 1234
|
|
./tool-local.sh confirm-email user2
|
|
|
|
|
|
# Restore workspace contents in mongo/elastic
|
|
./tool-local.sh backup-restore ./sanity-ws sanity-ws
|
|
|
|
./tool-local.sh upgrade-workspace sanity-ws
|
|
|
|
# Re-assign user to workspace.
|
|
./tool-local.sh assign-workspace user1 sanity-ws
|
|
./tool-local.sh assign-workspace user2 sanity-ws
|
|
|
|
./tool-local.sh configure sanity-ws --enable=*
|
|
./tool-local.sh configure sanity-ws --list
|