Skip to content

Component Based Development using UI_Patterns. A training workshop for people who develop using a component based approach.

License

Notifications You must be signed in to change notification settings

benrobertsonio/components

 
 

Repository files navigation

Component Based Development Using UI_Patterns

A training workshop for people who develop websites using the component based approach.

Local Environment Setup (Do this first)

Before anything else, follow these steps to get your local envrionment setup.

Option 1 (Basic)

If you already have a system for creating a new Drupal 8 site locally (i.e. MAMP, LAMP, WAMP, AcquiaDev Desktop, etc.), you can go ahead and use that then follow these instructions:

  1. Download and install the latest version of Drupal 8

  2. Download and enable the following modules and their dependencies:

  3. Clone or download this repo anywhere on your machine

git clone https://github.com/mariohernandez/components
  1. Copy the nashville theme from the repo into your drupal's /themes/custom/

  2. Make the nashville theme your default theme

  3. Clear your caches.

Option 2 (Advanced)

  1. Install Lando

For Mac OS, download the latest version on GitHub. You can also install Lando on other platforms

  1. Install Composer
  1. Clone or download this repo anywhere on your local machine
git clone https://github.com/mariohernandez/components
  1. Start Lando

Change into the directory of the repo to run all commands below:

lando start
  1. Install all PHP Dependencies with Composer
lando composer install
  1. Install Drupal

lando drush site-install config_installer --account-name=admin --account-pass=admin --db-url='mysql://drupal8:drupal8@database/drupal8' --site-name=Components

  1. Train your dragon.

Enable the use of field templates within Display Suite

  • Click Structure | Display Suite | Settings
  • Under Field Templates check the box for Enable Field Templates
  • Click Save configuration

Training Material (work in progress)

For your convenience we have compiled all training material, including step by step exercises in a gitbook. This will be the official material we will use during training and it's currently being tested and refined.

About

Component Based Development using UI_Patterns. A training workshop for people who develop using a component based approach.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 70.2%
  • HTML 19.3%
  • CSS 10.5%