equal
deleted
inserted
replaced
183 config.write_bootstrap_cubes_file(cubes) |
183 config.write_bootstrap_cubes_file(cubes) |
184 |
184 |
185 def postcreate(self): |
185 def postcreate(self): |
186 if ASK.confirm('Run db-create to create the system database ?'): |
186 if ASK.confirm('Run db-create to create the system database ?'): |
187 verbosity = (self.config.mode == 'installed') and 'y' or 'n' |
187 verbosity = (self.config.mode == 'installed') and 'y' or 'n' |
188 CWCTL.run(['db-create', self.config.appid, '--verbose=%s' % verbosity]) |
188 CWCTL.run(['db-create', self.config.appid]) |
189 else: |
189 else: |
190 print ('-> nevermind, you can do it later with ' |
190 print ('-> nevermind, you can do it later with ' |
191 '"cubicweb-ctl db-create %s".' % self.config.appid) |
191 '"cubicweb-ctl db-create %s".' % self.config.appid) |
192 |
192 |
193 ERROR = nullobject() |
193 ERROR = nullobject() |