-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add local setup optimized for development
- Introduce a new Lagoon environment type, local. - Create new settings and services files with names to match this type - Scaffold these files from assets to web on install - Ensure scaffold is called during dev:reset. Composer install does not always seem to have the intended effect - Ignore the scaffolded files
- Loading branch information
Showing
6 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
parameters: | ||
twig.config: | ||
debug: true | ||
services: | ||
cache.backend.null: | ||
class: Drupal\Core\Cache\NullBackendFactory |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
# Enable verbose error reporting. | ||
$config['system.logging']['error_level'] = 'verbose'; | ||
|
||
# Disable preprocessing | ||
$config['system.performance']['css']['preprocess'] = FALSE; | ||
$config['system.performance']['js']['preprocess'] = FALSE; | ||
|
||
# Disable caching. | ||
$settings['cache']['default'] = 'cache.backend.null'; |
This file contains 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
This file contains 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
This file contains 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