Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Latest commit

 

History

History
51 lines (32 loc) · 1.22 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.22 KB

Gatsby Starter Drupal Boina

The Gatsby Starter for the Drupal Boina Distribution

Project dependencies

Install

gatsby new boina https://github.com/weknowinc/gatsby-starter-drupal-boina
cd boina

Copy environment file

cp .env.dist .env.development

You should use .env.production for production environment.

Update environment variables

# drupal
DRUPAL_HOST=http://drupal-boina.weknowinc.com/

The DRUPAL_HOST variable contains the URL for your Drupal backed server. We highly recommend you to use the Drupal Boina Distribution. But in case you want to try right away. Don't worry we prepare a demo server running our Boina Distribution at http://drupal-boina.weknowinc.com/ 

Start Gatsby in development mode

gatsby develop

Replacing a component (shadowing)

Create a js component in the starting with the path:

/src/components/@weknow/gatsby-theme-drupal-boina/

And follow the path to the component you want to replace.