Skip to content

Commit 238c1b8

Browse files
mosabuaoneonestar
authored andcommitted
Adjust quickstart to config.yaml convention
1 parent 340d126 commit 238c1b8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
File renamed without changes.

docs/quickstart.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ Gateway server running in the host operating system.
77
## Start Trino Gateway server
88

99
The following script starts a Trino Gateway server using the
10-
[Quickstart configuration](quickstart-config.yaml) at http://localhost:8080.
10+
[Quickstart configuration](config.yaml) at http://localhost:8080.
1111
It also starts a dockerized PostgreSQL database at localhost:5432.
1212

1313
To start the server, copy the script below to a temporary directory
1414
under the project root folder, and run it at the temporary directory.
1515

1616
It copies the following, necessary files to current directory:
1717

18-
- gateway-ha.jar
19-
- quickstart-config.yaml
18+
- `gateway-ha.jar` from Maven Central using the version specified in the script
19+
- `config.yaml` from the `docs` folder of the current project folder
20+
- `gateway-ha-persistence-postgres.sql` from the current project folder
2021

2122
```shell
2223
#!/usr/bin/env sh
@@ -26,7 +27,7 @@ BASE_URL="https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha"
2627
POSTGRES_SQL="gateway-ha-persistence-postgres.sql"
2728
JAR_FILE="gateway-ha-$VERSION-jar-with-dependencies.jar"
2829
GATEWAY_JAR="gateway-ha.jar"
29-
CONFIG_YAML="quickstart-config.yaml"
30+
CONFIG_YAML="config.yaml"
3031

3132
# Copy necessary files
3233
copy_files() {

0 commit comments

Comments
 (0)