default_vars.py 1.43 KB
Newer Older
1
from os import path
2

3
from fabric.api import env
4 5


6
# Project settings
7

8
env.project_name = 'drupalizer-default'
9
env.workspace = path.join(path.dirname(__file__), path.pardir)
10 11


12 13 14
# Site

env.site_root = '{}/src/drupal'.format(env.workspace)
15
env.site_name = 'Default Drupalizer'
16
env.site_environment = 'local'
17
env.site_profile = 'standard'
18
env.site_profile_repo = ''
19
env.site_profile_makefile = 'drupalizer.make'
20
env.site_profile_branch= '7.x'
21 22 23
env.site_db_user = 'dev'
env.site_db_pass = 'dev'
env.site_db_host = 'localhost'
24
env.site_db_name = 'dev'
25
env.site_hostname = 'drupalizer.dev.local'
26 27 28
env.site_admin_user = 'admin'
env.site_admin_pass = 'admin'
env.site_subdir = 'default'
29
env.site_languages = ''
30
env.site_default_language = ''
31

32 33 34
# PatternLab

# Specify the PatternLab dir is you want the style guide to be generated
35

36 37 38
env.patternlab_dir = ''


39 40
# Database dump
# To enable it, replace the boolean value with the absolute path of a gzipped SQL dump file.
41

42 43
env.db_dump = False

44

45 46 47 48 49 50
# Docker

env.docker_workspace = '/opt/sfl'
env.docker_site_root = '{}/src/drupal'.format(env.docker_workspace)
env.bind_port = 8001
env.apache_user = 'www-data'
51 52

# Docker auto-added container IP
53

54
env.container_ip = '172.17.0.2'
55 56 57


# Hook commands
58 59 60
# Example:
# env.hook_post_install = ['drush fra -y', 'drush cc all']
# env.hook_post_update = ['drush fra -y', 'drush cc all']
61

62 63
env.hook_post_install = []
env.hook_post_update = []
Ernesto Rodriguez Ortiz's avatar
Ernesto Rodriguez Ortiz committed
64 65


66
# Target environments definition
Ernesto Rodriguez Ortiz's avatar
Ernesto Rodriguez Ortiz committed
67

68
env.aliases = {}