Skip to content

Commit

Permalink
Adjust quickstart to config.yaml convention
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua authored and oneonestar committed Feb 11, 2025
1 parent 340d126 commit 238c1b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
File renamed without changes.
9 changes: 5 additions & 4 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ Gateway server running in the host operating system.
## Start Trino Gateway server

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

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

It copies the following, necessary files to current directory:

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

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

# Copy necessary files
copy_files() {
Expand Down

0 comments on commit 238c1b8

Please sign in to comment.