go-spatial / tegola

Tegola is a Mapbox Vector Tile server written in Go
http://tegola.io/
MIT License
1.28k stars 196 forks source link

getting started #855

Closed wroge closed 2 years ago

wroge commented 2 years ago

I am currently trying to get tegola up and running using the Getting-Started tutorial. Can anyone help me and tell me what I am doing wrong?

docker run --name postgis_postgres -e POSTGRES_PASSWORD=password -e POSTGRES_USER=postgres -p 5432:5432  postgis/postgis
export PGPASSWORD=password
export PGUSER=postgres
export PGHOST=localhost
psql -c 'CREATE DATABASE bonn;'
psql -c "CREATE USER \"user\";"
psql bonn < bonn_osm.dump
psql -c "CREATE USER tegola;"
psql -d bonn -c "GRANT SELECT ON ALL TABLES IN SCHEMA public TO tegola;"
psql -c "ALTER USER tegola WITH PASSWORD 'password';"
// Copy config.toml to current directory and change password to 'password'
./tegola serve --config=config.toml

At localhost:8080 i get this:

Bildschirmfoto 2022-05-25 um 11 27 52
ARolek commented 2 years ago

What version of tegola are you using?

iwpnd commented 2 years ago

The v0.15.0 image does also not contain the viewer @ARolek - wasn’t sure if that was intentional or not.

ARolek commented 2 years ago

@iwpnd thats not intentional. I'm wondering if the CI ran into an issue building the UI for embedding during the release.

gdey commented 2 years ago

@iwpnd I think I found the issue, it lies with our build system, I am working on a fix. @wroge

gdey commented 2 years ago

@wroge @iwpnd can you take a look at these artifacts and make sure it works as expected. Thanks.

ARolek commented 2 years ago

I tested the amd64 artifact and it's working. Thanks for the quick fix @gdey

wroge commented 2 years ago

It works very well, thanks for the quick fix :)