default_vars.py 1.42 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
10
env.workspace = path.join(path.dirname(__file__), path.pardir)
env.locale = False
11
12


13
14
15
# Site

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


33
34
35
# PatternLab

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

37
38
39
env.patternlab_dir = ''


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

43
44
env.db_dump = False

45

46
47
48
49
50
51
# 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'
52
53

# Docker auto-added container IP
54

55
env.container_ip = '172.17.0.0'
56
57
58


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

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


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

69
env.aliases = {}