Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

Drupal 8.x local development settings

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 [email protected]: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.