Commit 32a114f6 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Rename local conf file

local_vars.py now is called drupalizer.py.
It still needs to be linked as local_vars.py in drupalizer dir.

Refs #89070
parent a279bf41
......@@ -2,6 +2,7 @@ from os import path
from fabric.api import env
# Project settings
env.project_name = 'sfl_boilerplate'
......@@ -9,10 +10,12 @@ env.workspace = path.join(path.dirname(__file__), path.pardir)
env.interactive_mode = True
env.locale = False
# Site
env.site_root = '{}/src/drupal'.format(env.workspace)
env.site_name = 'SFL Boilerplate'
env.site_environment = 'local'
env.site_profile = 'sflinux'
env.site_profile_repo = 'git@gitlab.savoirfairelinux.com:drupal/sflinux.git'
env.site_profile_makefile = 'build/build-sflinux-7.x.make'
......@@ -35,21 +38,6 @@ env.apache_user = 'www-data'
# Hook commands
env.hook_post_install = ['drush fra -y', 'drush cc all']
# Site variables
SITE_ENVIRONMENT = 'local'
# Projects variables
DRUSH='drush8'
# Drush commands to be run at the end of the installation process
POST_INSTALL = ['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'
env.hook_post_install = ['drush fra -y', 'drush cc all']
env.hook_post_update= ['drush fra -y', 'drush cc all']
Markdown is supported
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