def setup_install_dir():
    if not exists(env.install_dir):
        sudo("mkdir -p %s" % env.install_dir)
    if not exists(env.jars_dir):
        sudo("mkdir -p %s" % env.jars_dir)
    # TODO: Fix bug here
    chown_galaxy(os.path.split(env.install_dir)[0])
Sets the number of instances on the server and version.
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/deploy/util.py/setup_install_dir--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/servers/servers.py/set_num_instances