diff --git a/README.md b/README.md index 058d2d9..e720864 100644 --- a/README.md +++ b/README.md @@ -108,10 +108,25 @@ be consistent at least. ### Initializing the application -The databases aren't created yet. The very first time, establish a shell into the `-dfshell` -container. It is likely that the scheduler and server containers are crashing in a loop. +The deployment is created and the initjob should have created the databases and done the +initialization of the site settings. -All we need to do is create two databases: +If that didn't complete successfully, try to restart the job. + +Once the deployment is complete and the initjob succeeded, we can set the install to that for false in config.yaml: + +``` +initjob: + install: false +``` + +Alternatively, here are the manual +steps to achieve the same: + +Establish a shell into the `-dfshell` container. +It is likely that the scheduler and server containers are crashing in a loop. + +All we need to is to run these commands: 1. `./manage.py clickhouse create-tables` 2. `./manage.py database create-or-upgrade` diff --git a/examples/deployment/application/config.yaml b/examples/deployment/application/config.yaml index a4b57b2..f47bdb3 100644 --- a/examples/deployment/application/config.yaml +++ b/examples/deployment/application/config.yaml @@ -20,4 +20,6 @@ worker-catalog: limits: memory: 19000Mi requests: - memory: 19000Mi \ No newline at end of file + memory: 19000Mi +initjob: + install: true