Skip to content

Setting up drupal environment in AWS

Marie-Louise edited this page Aug 20, 2018 · 1 revision

Setting up drupal environment in AWS

sudo cp default.services.yml services.yml

copying default.service.yml and renaming it to services.yml

services.yml provides configuration for drupal. by default twig doesn't allow comments so by entering and setting

debug:true 

this will allow us to do so

Sub Theme

this command moves the directory from one location to another (the name of the sub theme is Russell)

sudo mv russell ~/apps/drupal/htdocs/themes/custom/

Exporting a feature

administration > structure > features

then find the type of feature for example : 'Entity - File', 'Entity - Node' etc

then check the list of features nested within it.

Find the name of the feature you're looking for and then check the state and click 'overridden'

then select 'recreate'

then click 'download feature'

Clone this wiki locally