Decoupled Drupal Site Repository
This is a codebase constructed with the intent to display a decoupled architecture. Follow the instructions below to setup your Drupal website, and then the steps for the JS app at https://github.com/jenter/decoupled-js.
Setup Instructions
Download and install dependencies
- Fork this repository and download locally with
git clone [YOUR REPO]
- Once the code has finished downloading, cd into the folder with
cd decoupled-drupal
- If you do not have composer installed yet, install using the website instructions
- Run the command
composer install
to install the required dependencies
- Restrict permissions on the provided snakeoil keys:
chmod og-wrx keys/snakeoil*
Setup the site locally
Next you will set up the local Drupal site using BLT & DrupalVM by following the next steps.
- You will now install the BLT alias with
composer run-script blt-alias
- The next step will utilize DrupalVM, so first install Vagrant & VirtualBox.
- You will now setup your VM using the BLT command:
blt vm
- Next you will build and install the Drupal installation:
blt setup
- You will now have the initial Drupal website ready at
http://local.decoupled.com
Preview
JavaScript Application
Drupal Website