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
599ab5f1
Commit
599ab5f1
authored
Mar 16, 2016
by
Emmanuel Milou
Browse files
Improve site_install task
parent
c1677cbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
fabfile.py
View file @
599ab5f1
...
...
@@ -686,7 +686,7 @@ def run_behat(role='docker'):
# fab_run(role, 'behat --format pretty --tags "~@wip&&~@disabled&&@yourTest" --colors')
@
task
(
alias
=
'
s
i'
)
@
task
(
alias
=
'i
nstall
'
)
@
roles
(
'docker'
)
def
site_install
(
role
=
'docker'
):
"""
...
...
@@ -705,6 +705,8 @@ def site_install(role='docker'):
SITE_SUBDIR
))
print
green
(
'Site installed successfully!'
)
print
green
(
'Running post-install commands.'
)
execute
(
drush_commands
)
@
task
(
alias
=
'su'
)
@
roles
(
'docker'
)
...
...
Write
Preview
Markdown
is supported
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