Makefile target cleanup, minor improvements (#821)
* allow postgres image to be overwritten with an env var * allow DIFF_MODE var to be overwritten with an env var * add /mapping and /cache dirs into tools image * make `build-sql` target explicit rather than relying on a filename * `tools-dev` will open a shell in a docker to experiment and debug (instead of `import-sql-dev` and `import-osm-dev`) * separated `start-maputnik` from `start-postserve` * renamed `clean-docker` into `db-destroy` to make it more explicit * cleaner `db-start`, `db-stop`, `db-destroy` targets * better output messages
This commit is contained in:
@@ -116,7 +116,7 @@ fi
|
||||
echo " "
|
||||
echo "-------------------------------------------------------------------------------------"
|
||||
echo "====> : Stopping running services & removing old containers"
|
||||
make clean-docker
|
||||
make db-destroy
|
||||
|
||||
echo " "
|
||||
echo "-------------------------------------------------------------------------------------"
|
||||
@@ -298,8 +298,8 @@ echo "We saved the log file to $log_file ( for debugging ) You can compare with
|
||||
echo " "
|
||||
echo "Start experimenting! And check the QUICKSTART.MD file!"
|
||||
echo " "
|
||||
echo "* Use make start-postserve to explore tile generation on request"
|
||||
echo "* Use make start-tileserver to view pre-generated tiles"
|
||||
echo "* Use make maputnik-start to explore tile generation on request"
|
||||
echo "* Use make tileserver-start to view pre-generated tiles"
|
||||
echo " "
|
||||
echo "Available help commands (make help) "
|
||||
make help
|
||||
|
||||
Reference in New Issue
Block a user