revert check for openstreetmap-carto, readme update
This commit is contained in:
parent
b9846e1bfd
commit
43552df191
@ -206,7 +206,7 @@ COPY --from=compiler-modtile-renderd /root/mod_tile/osmosis-db_replag /usr/bin/o
|
||||
# Install helper script
|
||||
COPY --from=compiler-helper-script /home/renderer/src/regional /home/renderer/src/regional
|
||||
|
||||
COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/openstreetmap-carto-backup
|
||||
COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/src/openstreetmap-carto-backup
|
||||
|
||||
# Start running
|
||||
COPY run.sh /
|
||||
|
||||
@ -54,7 +54,7 @@ docker run \
|
||||
|
||||
### Using an alternate style
|
||||
|
||||
By default the container will fetch openstreetmap-carto if it is not specified. However, you can modify the style at run-time. Be aware you need the style mounted at `run` AND `import` as the Lua script needs to be run:
|
||||
By default the container will use openstreetmap-carto if it is not specified. However, you can modify the style at run-time. Be aware you need the style mounted at `run` AND `import` as the Lua script needs to be run:
|
||||
|
||||
```
|
||||
docker run \
|
||||
@ -74,7 +74,9 @@ If you do not define the "NAME_*" variables, the script will default to those fo
|
||||
|
||||
Be sure to mount the volume during `run` with the same `-v /home/user/openstreetmap-carto-modified:/home/renderer/src/openstreetmap-carto`
|
||||
|
||||
If you do not see the expected style upon `run` double check your paths as the style may not have been found at the directory specified. By default, `openstreetmap-carto` will be fetched if a style cannot be found
|
||||
If you do not see the expected style upon `run` double check your paths as the style may not have been found at the directory specified. By default, `openstreetmap-carto` will be used if a style cannot be found
|
||||
|
||||
**Only openstreetmap-carto and styles like it, eg, ones with one lua script, one style, one mml, one SQL can be used**
|
||||
|
||||
## Running the server
|
||||
|
||||
|
||||
4
run.sh
4
run.sh
@ -29,9 +29,9 @@ fi
|
||||
|
||||
set -x
|
||||
|
||||
if [ ! -d /home/renderer/src/openstreetmap-carto ]; then
|
||||
if [ ! "$(ls -A /home/renderer/src/openstreetmap-carto)" ]; then
|
||||
|
||||
mv /home/renderer/src/openstreetmap-carto-backup /home/renderer/src/openstreetmap-carto
|
||||
mv /home/renderer/src/openstreetmap-carto-backup/* /home/renderer/src/openstreetmap-carto/
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user