https://github.com/dropdog/local-dev
Drupal 8.x local development settings
https://github.com/dropdog/local-dev
development drupal drupal-8 drupal8 staging
Last synced: about 1 year ago
JSON representation
Drupal 8.x local development settings
- Host: GitHub
- URL: https://github.com/dropdog/local-dev
- Owner: dropdog
- Created: 2016-01-28T19:58:13.000Z (about 10 years ago)
- Default Branch: dev
- Last Pushed: 2016-02-08T15:43:53.000Z (about 10 years ago)
- Last Synced: 2025-01-28T23:49:17.962Z (about 1 year ago)
- Topics: development, drupal, drupal-8, drupal8, staging
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Drupal 8.x local development settings
## Usage
```
// On a fresh Drupal installation
// go to the drupal root folder
cd [drupal-root]
// Clone this repo
git clone git@github.com:dropdog/local-dev.git --branch [dev|live]
// Allow the settings.php file to be editable
chmod 777 /path/to/settings.php
// Append the settings.local.php file to the site settings.php
// cat [drupal-root]/local-dev/add-to-settings.txt > /path/to/settings.php
cat local-dev/add-to-settings.txt >> sites/default/settings.php
// Reset the settings.php file permissions
chmod 444 /path/to/settings.php
// Clear Drupal caches
drush cr
// Ready! Now your site will be on full development mode!
```
## Patches
If there are any errors with the development services yml file such as **You have requested a non-existent service "cache.backend.null"**, please apply the patch from https://www.drupal.org/node/2348219#comment-10711754.