equal
deleted
inserted
replaced
327 print |
327 print |
328 if automatic or ASK.confirm('Run db-init to initialize the system database ?'): |
328 if automatic or ASK.confirm('Run db-init to initialize the system database ?'): |
329 cmd_run('db-init', config.appid) |
329 cmd_run('db-init', config.appid) |
330 else: |
330 else: |
331 print ('-> nevermind, you can do it later with ' |
331 print ('-> nevermind, you can do it later with ' |
332 '"cubicweb-ctl db-init %s".' % self.config.appid) |
332 '"cubicweb-ctl db-init %s".' % config.appid) |
333 |
333 |
334 |
334 |
335 class InitInstanceCommand(Command): |
335 class InitInstanceCommand(Command): |
336 """Initialize the system database of an instance (run after 'db-create'). |
336 """Initialize the system database of an instance (run after 'db-create'). |
337 |
337 |