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