Commit 93a80cca authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Initial project commit. Main files.

Refs: 72521
parent 953072d0
# Ignore local-vars file
local_vars.py
# Ignore .pyc files
*.pyc
# Ignore IDES folders
.idea
This diff is collapsed.
#********************************
# 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'
This diff is collapsed.
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