comparison vendor/chi-teck/drupal-code-generator/templates/d8/_project/env.example.twig @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 # Copy and rename this file to .env at root of this project.
2 #
3 # A common use case is to supply database credentials via the environment.
4 # Edit settings.php like so:
5 #
6 # $databases['default']['default'] = [
7 # 'database' => getenv('MYSQL_DATABASE'),
8 # 'driver' => 'mysql',
9 # 'host' => getenv('MYSQL_HOST'),
10 # 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
11 # 'password' => getenv('MYSQL_PASSWORD'),
12 # 'port' => getenv('MYSQL_PORT'),
13 # 'prefix' => '',
14 # 'username' => getenv('MYSQL_USER'),
15 # ];
16 #
17 # Uncomment and populate as needed.
18 # MYSQL_DATABASE=
19 # MYSQL_HOST=
20 # MYSQL_PASSWORD=
21 # MYSQL_PORT=
22 # MYSQL_USER=
23
24 {% if drush %}
25 # Another common use case is to set Drush's --uri via environment.
26 # DRUSH_OPTIONS_URI=http://localhost
27
28 {% endif %}