2022-05-10 10:31:46 +03:00
|
|
|
# Create workspace record in accounts
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh create-workspace sanity-ws -o SanityTest
|
2022-05-10 10:31:46 +03:00
|
|
|
# Create user record in accounts
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh create-account user1 -f John -l Appleseed -p 1234
|
|
|
|
./tool-local.sh confirm-email user1
|
2023-11-22 12:14:26 +03:00
|
|
|
# Create second user record in accounts
|
2023-12-01 10:27:56 +03:00
|
|
|
./tool-local.sh create-account user2 -f Kainin -l Dirak -p 1234
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh confirm-email user2
|
2022-05-10 10:31:46 +03:00
|
|
|
|
|
|
|
|
|
|
|
# Restore workspace contents in mongo/elastic
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh backup-restore ./sanity-ws sanity-ws
|
2023-07-06 08:55:22 +03:00
|
|
|
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh upgrade-workspace sanity-ws
|
2022-05-10 10:31:46 +03:00
|
|
|
|
|
|
|
# Re-assign user to workspace.
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh assign-workspace user1 sanity-ws
|
|
|
|
./tool-local.sh assign-workspace user2 sanity-ws
|
2023-07-06 08:55:22 +03:00
|
|
|
|
2023-11-24 12:48:28 +03:00
|
|
|
./tool-local.sh configure sanity-ws --enable=*
|
2023-12-01 10:27:56 +03:00
|
|
|
./tool-local.sh configure sanity-ws --list
|