mirror of
https://github.com/holos-run/holos.git
synced 2026-03-19 16:54:58 +00:00
Previously there wasn't a good way to populate the platform model in the database after building a new instance of holos server. With this patch, the process to reset clean is: ``` export HOLOS_SERVER=https://dev.app.holos.run:443 grpcurl -H "x-oidc-id-token: $(holos token)" ${HOLOS_SERVER##*/} holos.user.v1alpha1.SystemService.DropTables grpcurl -H "x-oidc-id-token: $(holos token)" ${HOLOS_SERVER##*/} holos.system.v1alpha1.SystemService.SeedDatabase ``` Then populate the form and model: ``` holos push platform form . holos push platform model . ``` The `platform.config.json` file stored in version control is pushed to the holos server and stored in the database. This makes it nice and easy to reset entirely, or move to another service url.