Beispiel #1
0
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf,
                          {'server_port': links['limas']['server_port'],
                           'base_dir': path,
                           'name': component_cfgs['collection']['name']})
     os.chmod(outf, 0755)
Beispiel #2
0
 def write_mongo_start_script():
     outf = os.path.join(path, 'start_mongo.sh')
     utils.write_template(os.path.join(templates_dir, 'mongodb'), 'start_mongo.sh', outf,
                          {'mongo_path': components['mongodb'],
                           'mongo_port': links['mongodb']['server_port'],
                           'mongo_dbpath': os.path.join(component_cfgs['collection']['paths']['index_data'], 'db')})
     os.chmod(outf, 0755)
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(
         templates_dir, 'start.sh', outf, {
             'server_port': links['limas']['server_port'],
             'base_dir': path,
             'name': component_cfgs['collection']['name']
         })
     os.chmod(outf, 0755)
Beispiel #4
0
 def write_axeslite_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf,
                          {'cpuvisor-srv_path': components['cpuvisor-srv'],
                           'imsearch-tools_path': components['imsearch-tools'],
                           'limas_path': components['limas'],
                           'axes-home_path': components['axes-home'],
                           'axes-research_path': components['axes-research']})
     os.chmod(outf, 0755)
 def write_nginx_start_script():
     outf = os.path.join(path, 'start_nginx.sh')
     utils.write_template(
         os.path.join(templates_dir, 'nginx'), 'start_nginx.sh', outf, {
             'nginx_path':
             components['nginx'],
             'nginx_config':
             os.path.join(components['nginx'], 'conf', 'nginx.conf')
         })
     os.chmod(outf, 0755)
 def write_axeslite_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(
         templates_dir, 'start.sh', outf, {
             'cpuvisor-srv_path': components['cpuvisor-srv'],
             'imsearch-tools_path': components['imsearch-tools'],
             'limas_path': components['limas'],
             'axes-home_path': components['axes-home'],
             'axes-research_path': components['axes-research']
         })
     os.chmod(outf, 0755)
 def write_mongo_start_script():
     outf = os.path.join(path, 'start_mongo.sh')
     utils.write_template(
         os.path.join(templates_dir, 'mongodb'), 'start_mongo.sh', outf, {
             'mongo_path':
             components['mongodb'],
             'mongo_port':
             links['mongodb']['server_port'],
             'mongo_dbpath':
             os.path.join(
                 component_cfgs['collection']['paths']['index_data'], 'db')
         })
     os.chmod(outf, 0755)
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf, settings)
     os.chmod(outf, 0755)
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(
         templates_dir, 'start.sh', outf,
         {'server_port': links['imsearch-tools']['server_port']})
     os.chmod(outf, 0755)
 def write_server_settings():
     outf = os.path.join(path, 'axesresearch', 'settings', 'local.py')
     utils.write_template(templates_dir, 'local.py', outf, settings)
 def write_nginx_config():
     outf = os.path.join(path, 'nginx.conf')
     utils.write_template(templates_dir, 'nginx.conf', outf, settings)
Beispiel #12
0
 def write_server_settings():
     outf = os.path.join(axes_home_path, 'server', 'settings.cfg')
     utils.write_template(templates_dir, 'settings.cfg', outf, settings)
 def write_server_settings():
     outf = os.path.join(axes_home_path, 'server', 'settings.cfg')
     utils.write_template(templates_dir, 'settings.cfg', outf, settings)
Beispiel #14
0
 def write_server_settings():
     outf = os.path.join(path, 'axesresearch', 'settings', 'local.py')
     utils.write_template(templates_dir, 'local.py', outf, settings)
Beispiel #15
0
 def write_nginx_config():
     outf = os.path.join(path, 'nginx.conf')
     utils.write_template(templates_dir, 'nginx.conf', outf, settings)
Beispiel #16
0
 def write_nginx_start_script():
     outf = os.path.join(path, 'start_nginx.sh')
     utils.write_template(os.path.join(templates_dir, 'nginx'), 'start_nginx.sh', outf,
                          {'nginx_path': components['nginx'],
                           'nginx_config': os.path.join(components['nginx'], 'conf', 'nginx.conf')})
     os.chmod(outf, 0755)
Beispiel #17
0
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf, settings)
     os.chmod(outf, 0755)
Beispiel #18
0
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf,
                          {'server_port': links['imsearch-tools']['server_port']})
     os.chmod(outf, 0755)
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf,
                          {'name': component_cfgs['collection']['name']})
     os.chmod(outf, 0755)
Beispiel #20
0
 def write_start_script():
     outf = os.path.join(path, 'start.sh')
     utils.write_template(templates_dir, 'start.sh', outf,
                          {'name': component_cfgs['collection']['name']})
     os.chmod(outf, 0755)