From 9c07fc91503c733820c1d1dc908fa10cd6234d28 Mon Sep 17 00:00:00 2001 From: taiebnoe <72358060+taiebnoe@users.noreply.github.com> Date: Wed, 7 Jun 2023 18:53:24 +0200 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1755b7f0..c015b1de 100755 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Each tile source will have a [TileJSON](https://github.com/mapbox/tilejson-spec) ```shell # 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 # same as above, but passing connection string via CLI, together with a directory of .mbtiles/.pmtiles files