예제 #1
0
파일: demodata.py 프로젝트: rinfo/rdl
def deploy_dataset_war(dataset, restart=True):
    """Deploy a demo webapp for the given uploaded dataset."""
    _can_handle_dataset(dataset)
    if not exists(env.dist_dir):
        run("mkdir %(dist_dir)s" % env)
    if restart:
        _deploy_war("%(java_packages)s/demodata-supply/target/%(dataset)s-demodata-supply.war" % venv(),
                    "%(dataset)s-demodata-supply" % venv())
    else:
        _deploy_war_norestart("%(java_packages)s/demodata-supply/target/%(dataset)s-demodata-supply.war" % venv(),
                              "%(dataset)s-demodata-supply" % venv())
예제 #2
0
파일: service.py 프로젝트: rinfo/rdl
def deploy(headless="0"):
    """Deploys the rinfo-service war package to target env."""
    setup()
    _deploy_war_norestart("%(java_packages)s/rinfo-service/target/rinfo-service-%(target)s.war" % env,
                          "rinfo-service", int(headless))
예제 #3
0
파일: checker.py 프로젝트: rinfo/rdl
def deploy(headless="0"):
    setup()
    _deploy_war_norestart("%(java_packages)s/rinfo-checker/target/rinfo-checker-%(target)s.war" % env,
                          "rinfo-checker", int(headless))