File tree 2 files changed +10
-2
lines changed
Filter options
2 files changed +10
-2
lines changed
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ sed -ri 's/^(\s*)(host:.*$)/\1host: ""/' ~/.dblab/server_test.yml
40
40
sed -ri ' s/^(\s*)(port: 2345$)/\1port: 12345/' ~ /.dblab/server_test.yml
41
41
sed -ri ' s/^(\s*)(debug:.*$)/\1debug: true/' ~ /.dblab/server_test.yml
42
42
sed -ri ' s/^(\s*)(pool:.*$)/\1pool: "test_pool"/' ~ /.dblab/server_test.yml
43
- sed -ri ' s/^(\s*)(pool:.*$)/\1pool: "test_pool"/' ~ /.dblab/server_test.yml
43
+ # sed -ri 's/^(\s*)(pool:.*$)/\1pool: "test_pool"/' ~/.dblab/server_test.yml
44
+ sed -ri ' s/^(\s*)(pgDataSubdir:.*$)/\1pgDataSubdir: "\/"/' ~ /.dblab/server_test.yml
44
45
45
46
sudo docker run \
46
47
--detach \
@@ -65,3 +66,9 @@ dblab --version
65
66
dblab init --url http://localhost:12345 --token secret_token --environment-id test
66
67
dblab instance status
67
68
69
+ # ## Step ?. Create clone and connect to it
70
+ dblab clone create --username testuser --password testuser --id testclone
71
+ dblab clone list
72
+ export PGPASSWORD=testuser
73
+ psql " host=localhost port=6000 user=testuser dbname=test" -c ' \l'
74
+
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ curl --version || sudo apt-get update && sudo apt-get install -y \
7
7
curl \
8
8
gnupg-agent \
9
9
software-properties-common \
10
- curl
10
+ curl \
11
+ postgresql-client
11
12
12
13
# ZFS
13
14
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
You can’t perform that action at this time.
0 commit comments