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
2e138add
Commit
2e138add
authored
Oct 27, 2016
by
Samuel Sirois
Browse files
Fix rights on folders/files of a D8 instance
parent
6ad6fb99
Pipeline
#1123
failed with stage
in 1 minute and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
drush.py
View file @
2e138add
...
...
@@ -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="{}" '
...
...
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