server/serverctl.py
branchstable
changeset 6132 440df442d705
parent 6127 747e423093fc
child 6138 65f5e488f983
equal deleted inserted replaced
6131:087c5a168010 6132:440df442d705
   889         mappingfile = pop_arg(args, msg='No mapping file specified !')
   889         mappingfile = pop_arg(args, msg='No mapping file specified !')
   890         config = ServerConfiguration.config_for(appid)
   890         config = ServerConfiguration.config_for(appid)
   891         config.quick_start = True
   891         config.quick_start = True
   892         mih = config.migration_handler(connect=False, verbosity=1)
   892         mih = config.migration_handler(connect=False, verbosity=1)
   893         repo = mih.repo_connect() # necessary to get cubes
   893         repo = mih.repo_connect() # necessary to get cubes
   894         checkintegrity(config.load_schema(), load_mapping_file(mappingfile))
   894         check_mapping(config.load_schema(), load_mapping_file(mappingfile))
   895 
   895 
   896 register_commands( (CreateInstanceDBCommand,
   896 register_commands( (CreateInstanceDBCommand,
   897                     InitInstanceCommand,
   897                     InitInstanceCommand,
   898                     GrantUserOnInstanceCommand,
   898                     GrantUserOnInstanceCommand,
   899                     ResetAdminPasswordCommand,
   899                     ResetAdminPasswordCommand,