Local Database and Cache Operations
One-shot local dev setup (db full-setup first, then composer + npm install + npm build):
bash
podman exec -it zms-web bash -lc "./cli dev setup-local"You can also run ./cli dev setup-local directly wherever the repo is mounted (for example already inside zms-web).
Full setup (drop all tables + base import + test data Flyway + PHP migrate + hourly + minutly + local cache clear):
bash
podman exec -it zms-web bash -lc "./cli db full-setup"Optional manual steps:
bash
podman exec -it zms-web bash -lc "./cli db drop-all-tables"
podman exec -i zms-db mysql -u root -proot db < .resources/zms.sql
podman exec -it zms-web bash -lc "./cli db migrate-test-data"
podman exec -it zms-web bash -lc "cd zmsbackend && bin/configure && bin/migrate --update"
podman exec -it zms-web bash -lc "cd zmsbackend && ./cron/cronjob.hourly --city=munich"
podman exec -it zms-web bash -lc "cd zmsbackend && ./cron/cronjob.minutly"
podman exec -it zms-web bash -lc "./cli modules clear-local-cache"