server/serverctl.py
branchstable
changeset 3893 74f216b69628
parent 3835 a191b3b9e455
child 3904 dc7d315165fc
equal deleted inserted replaced
3891:b176f345c5b1 3893:74f216b69628
   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