Skip to content

Instantly share code, notes, and snippets.

@nkgokul
Last active April 16, 2016 06:16
Show Gist options
  • Save nkgokul/b97a258057d7e9d5ca77 to your computer and use it in GitHub Desktop.
Save nkgokul/b97a258057d7e9d5ca77 to your computer and use it in GitHub Desktop.
Drupal 8 Installation file permissions
mkdir sites/default/files
chmod a+w sites/default/files
cp sites/default/default.settings.php sites/default/settings.php
cp sites/default/default.services.yml sites/default/services.yml
cp example.gitignore .gitignore
chmod a+w sites/default/settings.php
chmod a+w sites/default/services.yml
cp example.gitignore .gitgnore
// Goto the weburl and install
chmod go-w sites/default/settings.php
chmod go-w sites/default/services.yml
chmod go-w sites/default
chmod a-r CHANGELOG.txt
mkdir modules/contrib
mkdir modules/custom
// For Dev servers to enabled debugging
// emacs sites/default/settings.php
// Uncomment the lines 717,718 an d719
cp sites/example.settings.local.php sites/default/settings.local.php
// Add debug: true
emacs sites/default/services.yml
//While adding to git
// If you want to add git submodules later
git submodule add --branch 8.x-1.x http://git.drupal.org/project/inline_entity_form.git sites/all/modules/inline_entity_form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment