Mercurial > hg > cmmr2012-drupal-site
view 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 |
line wrap: on
line source
# Copy and rename this file to .env at root of this project. # # A common use case is to supply database credentials via the environment. # Edit settings.php like so: # # $databases['default']['default'] = [ # 'database' => getenv('MYSQL_DATABASE'), # 'driver' => 'mysql', # 'host' => getenv('MYSQL_HOST'), # 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql', # 'password' => getenv('MYSQL_PASSWORD'), # 'port' => getenv('MYSQL_PORT'), # 'prefix' => '', # 'username' => getenv('MYSQL_USER'), # ]; # # Uncomment and populate as needed. # MYSQL_DATABASE= # MYSQL_HOST= # MYSQL_PASSWORD= # MYSQL_PORT= # MYSQL_USER= {% if drush %} # Another common use case is to set Drush's --uri via environment. # DRUSH_OPTIONS_URI=http://localhost {% endif %}