mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
e361325a73
Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
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 -o 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
|