2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

Merge pull request #795 from frappe/fix_swap_setup

fix: provision to pass container flag while setting up swap
This commit is contained in:
Saurabh 2019-04-25 19:00:29 +05:30 committed by GitHub
commit d4d58b4232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ def setup_manager(yes=False, port=23624, domain=None):
if 'bench_manager' in os.listdir('apps'):
print('App already exists. Skipping app download.')
else:
else:
exec_cmd("bench get-app bench_manager")
exec_cmd("bench --site bench-manager.local install-app bench_manager")
@ -275,6 +275,7 @@ def sync_domains(domain=None, site=None):
@click.argument('role')
@click.option('--admin_emails', default='')
@click.option('--mysql_root_password')
@click.option('--container', is_flag=True, default=False)
def setup_roles(role, **kwargs):
"Install dependancies via roles"
from bench.utils import run_playbook