Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
1e575ae7
Commit
1e575ae7
authored
Oct 31, 2016
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
drush.py
View file @
1e575ae7
...
@@ -71,7 +71,7 @@ def aliases():
...
@@ -71,7 +71,7 @@ def aliases():
Copy conf/aliases.drushrc.php in the site environment.
Copy conf/aliases.drushrc.php in the site environment.
"""
"""
role
=
'
l
oc
al
'
role
=
'
d
oc
ker
'
drush_aliases
=
env
.
site_drush_aliases
drush_aliases
=
env
.
site_drush_aliases
workspace
=
env
.
workspace
workspace
=
env
.
workspace
...
@@ -124,6 +124,9 @@ def site_install():
...
@@ -124,6 +124,9 @@ def site_install():
h
.
init_db
(
'docker'
)
h
.
init_db
(
'docker'
)
with
h
.
fab_cd
(
role
,
site_root
):
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
''
locale
=
'--locale="fr"'
if
env
.
locale
else
''
h
.
fab_run
(
role
,
'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name="{}" '
h
.
fab_run
(
role
,
'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name="{}" '
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment