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
sfl-boilerplate
Commits
66e4c3be
Commit
66e4c3be
authored
May 29, 2015
by
Ernesto Rodriguez Ortiz
Browse files
Add a file local_vars.py of example.
parent
c862d644
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/local_vars.py
0 → 100644
View file @
66e4c3be
#********************************
# WARNING WARNING WARNING
#********************************
# YOU MUST NOT MODIFY THIS FILE!
# If you need to override the values of the variables defined in this file you should
# Copy and paste this file with the name local_vars.py and set your values there.
# When you create a file local_vars.py and define the values there, the fabfile.py file will use
# your values and not the values defined in this file.
#********************************
# END WARNING
#********************************
from
os
import
path
# The Apache user
APACHE
=
'www-data'
# Variables to use at your local machine
LOCAL_WORKSPACE
=
path
.
join
(
path
.
dirname
(
__file__
),
path
.
pardir
)
LOCAL_DRUPAL_ROOT
=
'{}/src/drupal'
.
format
(
LOCAL_WORKSPACE
)
# Variables to use inside the docker container
DOCKER_WORKSPACE
=
"/opt/sfl_boilerplate"
DOCKER_DRUPAL_ROOT
=
"/var/www/drupal"
DOCKER_PORT_TO_BIND
=
8001
# Database variables
DB_USER
=
'dev'
DB_PASS
=
'dev'
DB_HOST
=
'localhost'
DB_NAME
=
'sfl_boilerplate'
# Site variables
SITE_NAME
=
'SFL Boilerplate'
SITE_SUBDIR
=
'default'
SITE_PROFILE
=
'sflinux'
SITE_ADMIN_NAME
=
'admin'
SITE_ADMIN_PASS
=
'admin'
SITE_ENVIRONMENT
=
'local'
SITE_HOSTNAME
=
'local.boilerplate.sfl'
# Projects variables
PROJECT_NAME
=
'sfl_boilerplate'
PROFILE
=
{
'sflinux'
:
'git@gitlab.savoirfairelinux.com:drupal/sflinux.git'
}
PROFILE_MAKE_FILE
=
'build/build-sflinux.make'
# Drush commands to be run at the end of the installation process
POST_INSTALL
=
[
'drush d-conf'
,
'drush fra -y'
,
'drush po-import fr --custom-only'
,
'drush cc all'
]
# Drush commands to be run at the end of the update process
POST_UPDATE
=
[
'drush d-conf'
,
'drush fra -y'
,
'drush po-import fr --custom-only'
,
'drush cc all'
]
# Test variables
TEST_DB_USER
=
'testuser'
TEST_DB_PASS
=
'testuser'
TEST_DB_NAME
=
'sfl_boilerplate_tests'
TEST_SITE_HOSTNAME
=
'tests.local.boilerplate.sfl'
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