mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +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:
commit
d4d58b4232
@ -191,7 +191,7 @@ def setup_manager(yes=False, port=23624, domain=None):
|
|||||||
|
|
||||||
if 'bench_manager' in os.listdir('apps'):
|
if 'bench_manager' in os.listdir('apps'):
|
||||||
print('App already exists. Skipping app download.')
|
print('App already exists. Skipping app download.')
|
||||||
else:
|
else:
|
||||||
exec_cmd("bench get-app bench_manager")
|
exec_cmd("bench get-app bench_manager")
|
||||||
|
|
||||||
exec_cmd("bench --site bench-manager.local install-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.argument('role')
|
||||||
@click.option('--admin_emails', default='')
|
@click.option('--admin_emails', default='')
|
||||||
@click.option('--mysql_root_password')
|
@click.option('--mysql_root_password')
|
||||||
|
@click.option('--container', is_flag=True, default=False)
|
||||||
def setup_roles(role, **kwargs):
|
def setup_roles(role, **kwargs):
|
||||||
"Install dependancies via roles"
|
"Install dependancies via roles"
|
||||||
from bench.utils import run_playbook
|
from bench.utils import run_playbook
|
||||||
|
Loading…
Reference in New Issue
Block a user