Commit 1e575ae7 authored by Victor Nikulshin's avatar Victor Nikulshin
Browse files

Merge branch 'feature/file-system-rights' into '2.x'

Feature/file system rights



See merge request !16
parents 1df93bf5 fdc68ebc
Pipeline #1146 failed with stages
in 18 seconds
......@@ -71,7 +71,7 @@ def aliases():
Copy conf/aliases.drushrc.php in the site environment.
"""
role = 'local'
role = 'docker'
drush_aliases = env.site_drush_aliases
workspace = env.workspace
......@@ -124,6 +124,9 @@ def site_install():
h.init_db('docker')
with h.fab_cd(role, site_root):
h.fab_run(role, 'chown {}:{} ./sites'.format(env.apache_user, env.apache_user))
h.fab_run(role, 'chmod ug+w ./sites/default'.format(env.docker_site_root))
locale = '--locale="fr"' if env.locale else ''
h.fab_run(role, 'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name="{}" '
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment