annotate core/.env.example @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
rev   line source
Chris@4 1 # This is a dotenv file used by JavaScript tasks.
Chris@4 2 # Copy this to '.env' to override.
Chris@4 3
Chris@4 4 #############################
Chris@4 5 # General Test Environment #
Chris@4 6 #############################
Chris@4 7 # This is the URL that Drupal can be accessed by. You don't need an installed
Chris@4 8 # site here, just make sure you can at least access the installer screen. If you
Chris@4 9 # don't already have one running, e.g. Apache, you can use PHP's built-in web
Chris@4 10 # server by running the following command in your Drupal root folder:
Chris@4 11 # php -S localhost:8888 .ht.router.php
Chris@4 12 # DRUPAL_TEST_BASE_URL=http://localhost:8888
Chris@4 13 DRUPAL_TEST_BASE_URL=
Chris@4 14
Chris@4 15 # Tests need to be executed with a user in the same group as the web server
Chris@4 16 # user.
Chris@4 17 #DRUPAL_TEST_WEBSERVER_USER=www-data
Chris@4 18
Chris@4 19 # By default we use sqlite as database. Use
Chris@4 20 # mysql://username:password@localhost/databasename#table_prefix for mysql.
Chris@4 21 DRUPAL_TEST_DB_URL=sqlite://localhost/sites/default/files/db.sqlite
Chris@4 22
Chris@4 23 #############
Chris@4 24 # Webdriver #
Chris@4 25 #############
Chris@4 26
Chris@4 27 # If Chromedriver is running as a service elsewhere, set it here.
Chris@4 28 # When using DRUPAL_TEST_CHROMEDRIVER_AUTOSTART leave this at the default settings.
Chris@4 29 DRUPAL_TEST_WEBDRIVER_HOSTNAME=localhost
Chris@4 30 DRUPAL_TEST_WEBDRIVER_PORT=9515
Chris@4 31
Chris@4 32 # If using Selenium, override the path prefix here.
Chris@4 33 # See http://nightwatchjs.org/gettingstarted#browser-drivers-setup
Chris@4 34 #DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub
Chris@4 35
Chris@4 36 ################
Chris@4 37 # Chromedriver #
Chris@4 38 ################
Chris@4 39
Chris@4 40 # Automatically start chromedriver for local development. Set to false when you
Chris@4 41 # use your own webdriver or chromedriver setup.
Chris@4 42 # Also set it to false when you use a different browser for testing.
Chris@4 43 DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=true
Chris@4 44
Chris@4 45 # A list of arguments to pass to Chrome, separated by spaces
Chris@4 46 # e.g. `--disable-gpu --headless --no-sandbox`.
Chris@4 47 #DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=
Chris@4 48
Chris@4 49 ##############
Chris@4 50 # Nightwatch #
Chris@4 51 ##############
Chris@4 52
Chris@4 53 # Nightwatch generates output files. Use this to specify the location where these
Chris@4 54 # files need to be stored. The default location is ignored by git, if you modify
Chris@4 55 # the location you will probably want to add this location to your .gitignore.
Chris@4 56 DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch
Chris@4 57
Chris@4 58 # The path that Nightwatch searches for assumes the same directory structure as
Chris@4 59 # when you download Drupal core. If you have Drupal installed into a docroot
Chris@4 60 # folder, you can use the following folder structure to add integration tests
Chris@4 61 # for your project, outside of tests specifically for custom modules/themes/profiles.
Chris@4 62 #
Chris@4 63 # .
Chris@4 64 # ├── docroot
Chris@4 65 # │ ├── core
Chris@4 66 # ├── tests
Chris@4 67 # │ ├── Nightwatch
Chris@4 68 # │ │ ├── Tests
Chris@4 69 # │ │ │ ├── myTest.js
Chris@4 70 #
Chris@4 71 # and then set DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../
Chris@4 72 #
Chris@4 73 #DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=
Chris@4 74
Chris@4 75 # Filter directories to look for tests. This uses minimatch syntax.
Chris@4 76 # Separate folders with a comma.
Chris@4 77 DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest