Skip to content

Commit 874e7e5

Browse files
authored
[*] use consistent password in install docs (#765)
And while at it, fix two typos.
1 parent e2d2cda commit 874e7e5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/tutorial/custom_installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ syntax differences.
8282
git clone https://github.com/cybertec-postgresql/pgwatch.git
8383
cd pgwatch/internal/webui
8484
yarn install --network-timeout 100000 && yarn build
85-
cd ..
85+
cd ../..
8686
go build ./cmd/pgwatch/
8787
```
8888
@@ -102,15 +102,15 @@ syntax differences.
102102
[Service]
103103
User=pgwatch
104104
Type=exec
105-
ExecStart=/usr/bin/pgwatch --sources=postgresql://pgwatch@localhost:5432/pgwatch --sink=postgresql://pgwatch@localhost:5432/pgwatch_metrics
105+
ExecStart=/usr/bin/pgwatch --sources=postgresql://pgwatch:xyz@localhost:5432/pgwatch --sink=postgresql://pgwatch:xyz@localhost:5432/pgwatch_metrics
106106
Restart=on-failure
107107
TimeoutStartSec=0
108108
109109
[Install]
110110
WantedBy=multi-user.target
111111
```
112112
113-
1. **Boostrap the configuration database**
113+
1. **Bootstrap the configuration database**
114114
115115
!!! note
116116
The detailed steps are described in the
@@ -132,7 +132,7 @@ syntax differences.
132132
you want to create the schema as a separate step, you can use the `config init` command-line command:
133133
134134
```terminal
135-
pgwatch --sources=postgresql://pgwatch:pgwatchadmin@localhost/pgwatch config init
135+
pgwatch --sources=postgresql://pgwatch:xyz@localhost/pgwatch config init
136136
```
137137
138138
1. **Bootstrap the measurements storage database (sink)**
@@ -176,8 +176,8 @@ syntax differences.
176176
177177
```terminal
178178
pgwatch \
179-
--sources=postgresql://pgwatch@localhost:5432/pgwatch \
180-
--sink=postgresql://pgwatch@localhost:5432/pgwatch_metrics \
179+
--sources=postgresql://pgwatch:xyz@localhost:5432/pgwatch \
180+
--sink=postgresql://pgwatch:xyz@localhost:5432/pgwatch_metrics \
181181
--log-level=debug
182182
```
183183
@@ -326,7 +326,7 @@ The content of a file is a array of sources definitions, like this:
326326
# - patroni-continuous-discovery
327327
# - patroni-namespace-discover
328328
# Defaults to postgres if not specified
329-
conn_str: postgresql://pgwatch:pgwatchadmin@somehost/mydb
329+
conn_str: postgresql://pgwatch:xyz@somehost/mydb
330330
preset_metrics: exhaustive # from list of presets defined in "metrics/preset-configs.yaml"
331331
custom_metrics: # if both preset and custom are specified, custom wins
332332
preset_metrics_standby: # optional metrics configuration for standby / replica state, v1.8.1+

0 commit comments

Comments
 (0)