Skip to content

Decipher/headless-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMO: Headless blog

This is a demonstration on how to use a headless ContentaCMS Drupal distribution as a content repository, with a Nuxt frontend for content management and presentation.


Table of Contents


Local development

Requirements

Initialize

Before you can install the site you need to initialize the environment.

This process will install the codebase, build the docker images and start the docker-compose environment, allowing the database to complete it's own setup.

Run the following command from the repository root directory using Terminal or Git Bash:

make init

Install

Once the environment has been initialized (see above), you can install the site.

This will build the latest composer codebase and then re-install the site.

Run the following command from the repository root directory using Terminal or Git Bash:

make install

Services

Drush

Drush (DRUpal SHell) is a tool that allows you to interact with Drupal from command line.

It can be used to install a site, enable new modules, update the database or synchronize site configuration.

To use Drush, you can pass commands through via the following make command:

make drush -- [PASSTHRU]


Make for mingw64

  • Go to ezwinports.

  • Download make-X.Y.Z-without-guile-w32-bin.zip (get the version without guile).

  • Extract zip.

  • Copy the contents to your Git\mingw64\ merging the folders, but do NOT overwrite/replace any existing files.

About

An example Headless Drupal build with ContentaCMS, Nuxt and Drupal JSON:API Entities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors