FEATURE: add a command for accessing the bash terminal

This commit is contained in:
nobohan
2023-06-22 11:08:13 +02:00
parent 773cf9c60f
commit 291ef08507
3 changed files with 24 additions and 0 deletions
+4
View File
@@ -40,6 +40,10 @@ if [ ! -f /data/style/mapnik.xml ]; then
carto ${NAME_MML:-project.mml} > mapnik.xml
fi
if [ "$1" == "terminal" ]; then
bash
fi
if [ "$1" == "import" ]; then
# Ensure that database directory is in right state
mkdir -p /data/database/postgres/