Fix missing file problem when starting server in fresh repository.

This commit is contained in:
Christian Neumann 2020-11-15 15:08:09 +01:00
parent 3619ca6389
commit 344abbea85
4 changed files with 19 additions and 13 deletions

View file

@ -1,8 +1,5 @@
#! /bin/bash
cd assets/ && wget https://osmlab.github.io/editor-layer-index/imagery.geojson --output-document=editor-layer-index.json
cd ..
mkdir -p assets/generated
ts-node createLayouts.ts || { echo 'Creating layouts failed' ; exit 1; }
find -name '*.png' | parallel optipng '{}'