Skip to content

Instantly share code, notes, and snippets.

@anavdesign
anavdesign / Drupal General Settings.md
Last active October 27, 2022 16:20
Drupal: General Settings
@anavdesign
anavdesign / Drupal Theme Local Settings.md
Created January 25, 2019 01:28
Drupal: Theme Local Settings

Drupal Local Theme Settings

Local Theme Development Setup

  1. Create Local Settings

    Copy and rename the sites/example.settings.local.php to be sites/default/settings.local.php

    sudo cp web/sites/example.settings.local.php web/sites/default/settings.local.php
    
@anavdesign
anavdesign / Drupal Commerce eStore Installation.md
Last active July 15, 2023 16:04
Drupal: Commerce eStore Installation
@anavdesign
anavdesign / Remote Composer Install.md
Created January 19, 2019 20:07
Remote: Composer Install

Composer Installation

Connect to Remote Server

$ ssh ALIAS

Shared Hosting

@anavdesign
anavdesign / Drupal Composer Install.md
Last active July 20, 2019 14:51
Drupal: Composer Instal

Drupal Composer Install

Drupal Install

  1. Move into the project folder

    cd ~/www/sites/FolderName
    
  2. Composer template for Drupal projects

@anavdesign
anavdesign / Drupal Git Repo.md
Created January 19, 2019 20:05
Drupal: Git Repo
@anavdesign
anavdesign / Drupal Site Sync.md
Created January 19, 2019 20:05
Drupal: Site Sync

Drupal Site Sync Sync

Sync Site Files

Copy local site files to remote server

# Add --delete flag ro remove any files not on source
$ drush rsync @self:%files @live:%files --delete
@anavdesign
anavdesign / Remote Server Setup.md
Created January 19, 2019 20:03
Remote: Server Setup

Remote Server Setup

SSH Access

  1. Enable SSH Remote Server

  2. Import Public Key

    Copy and enable Public Key to Remote Server /.ssh/id_rsa.pub