mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 04:41:46 +03:00
Update README.md export command (#708)
Quoting DATABASE_URL content variable prevents an issue from the command export. In case of a string (i.e. password) with given characters (i.e. '('), it can make the command fail. Quoting it prevents that from happening. The issue happened on MacOS with an M1 chip.
This commit is contained in:
parent
bd657bb72c
commit
9c07fc9150
@ -52,7 +52,7 @@ Each tile source will have a [TileJSON](https://github.com/mapbox/tilejson-spec)
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# publish all tables and functions from a single database
|
# publish all tables and functions from a single database
|
||||||
export DATABASE_URL=postgresql://user:password@host:port/database
|
export DATABASE_URL="postgresql://user:password@host:port/database"
|
||||||
martin
|
martin
|
||||||
|
|
||||||
# same as above, but passing connection string via CLI, together with a directory of .mbtiles/.pmtiles files
|
# same as above, but passing connection string via CLI, together with a directory of .mbtiles/.pmtiles files
|
||||||
|
Loading…
Reference in New Issue
Block a user