Exemplo n.º 1
0
def dev():
    """define development server"""
    env.provider = "virtualbox"
    env.remote_path = '/vagrant'
    env.web_path = os.path.join(env.remote_path, web_directory)
    env.config_type = 'development'
    env.use_repository = False
    env.site_name = None

    utils.set_hosts_from_config()
    execute(vagrant, env.hosts[0])
Exemplo n.º 2
0
def dev():
    """define development server"""
    env.provider = "virtualbox"
    env.remote_path = '/vagrant'
    env.web_path = os.path.join(env.remote_path, web_directory)
    env.config_type = 'development'
    env.use_repository = False
    env.site_name = None

    utils.set_hosts_from_config()
    execute(vagrant, env.hosts[0])
def dev():
    """define development server"""
    env.provider = "virtualbox"
    utils.set_hosts_from_config()
    
    # TODO do we want to start all the hosts?
    # or just the first one?
    if env.hosts:
        execute(vagrant, env.hosts[0])
    else:
        msg = "No hosts defined in the configuration file"
        raise FabricException(msg)
Exemplo n.º 4
0
def movievsmovie():
    """define digital ocean server"""
    env.provider = "digital_ocean"
    utils.set_hosts_from_config()
Exemplo n.º 5
0
def movdev():
    """define development server"""
    env.provider = "virtualbox"
    utils.set_hosts_from_config()