2022-01-25 08:25:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
docker-compose -p sanity kill
|
|
|
|
docker-compose -p sanity down --volumes
|
|
|
|
docker-compose -p sanity up -d --force-recreate --renew-anon-volumes
|
|
|
|
|
2023-06-29 05:46:28 +00:00
|
|
|
./wait-elastic.sh 9201
|
|
|
|
|
2023-07-26 10:22:03 +00:00
|
|
|
# Create workspace record in accounts
|
2022-01-25 08:25:20 +00:00
|
|
|
./tool.sh create-workspace sanity-ws -o SanityTest
|
|
|
|
# Create user record in accounts
|
2023-08-26 09:37:26 +00:00
|
|
|
./tool.sh create-account user1 -f John -l Appleseed -p 1234
|
2023-07-26 10:22:03 +00:00
|
|
|
# Make user the workspace maintainer
|
|
|
|
./tool.sh set-user-role user1 sanity-ws 1
|
2023-05-29 06:20:59 +00:00
|
|
|
./tool.sh confirm-email user1
|
2022-01-25 08:25:20 +00:00
|
|
|
|
|
|
|
./restore-workspace.sh
|