Last active
November 28, 2017 10:47
-
-
Save bySebastian/a3aa953b24d19dd9fad5e11149ccca46 to your computer and use it in GitHub Desktop.
[site-mode] Set working environment Drupal site #drupal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Ensure the local copy is using a sites/default/settings.local.php, and that it is being included by the sites/default/settings.php file. | |
# 2. Copy sites/development.services.yml to sites/default/services.yml. The services.yml file is ignored by Git by default, and contains environment-specific settings. | |
# 3. Ensure the permission of the sites/default/services.yml file allow you to read/write, as when you run Drupal cConsole's "site:mode" command, the file will be modified. | |
# 4. Run Drupal Console's "site:mode" command to put the site in development mode. | |
drupal site:mode dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
# 4. Run Drupal Console's "site:mode" command to put the site in production mode. | |
drupal site:mode prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment