mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-02 09:13:54 +03:00
c9e1d9fd51
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
20 lines
621 B
Bash
Executable File
20 lines
621 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker compose -p sanity kill
|
|
docker compose -p sanity down --volumes
|
|
docker compose -p sanity up -d --force-recreate --renew-anon-volumes
|
|
|
|
./wait-elastic.sh 9201
|
|
|
|
# Create workspace record in accounts
|
|
./tool.sh create-workspace sanity-ws -o SanityTest
|
|
# Create user record in accounts
|
|
./tool.sh create-account user1 -f John -l Appleseed -p 1234
|
|
./tool.sh create-account user2 -f Kainin -l Dirak -p 1234
|
|
# Make user the workspace maintainer
|
|
./tool.sh set-user-role user1 sanity-ws 1
|
|
./tool.sh confirm-email user1
|
|
./tool.sh set-user-role user2 sanity-ws 1
|
|
./tool.sh confirm-email user2
|
|
|
|
./restore-workspace.sh |