2017 © Pedro Peláez
 

project spell

Spell to create a new Drupal 8 project

image

druidfi/spell

Spell to create a new Drupal 8 project

  • Thursday, April 19, 2018
  • by back-2-95
  • Repository
  • 3 Watchers
  • 0 Stars
  • 227 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

druidfi/spell

This is a skeleton repository which will create a new Drupal project for you and setup Docker based development environment with Stonehenge. See requirements below., (*1)

Includes

  • Drupal 11.1.x (Core and CMS variants)
  • Drush 13.x
  • Docker Compose setup for development
  • druidfi/tools
  • Web root is ./public
  • Configuration is in ./conf/cmi
  • Custom modules can be created in ./public/modules/custom
  • Recipes are in ./recipes

Requirements

Create a new project with Composer

If you have PHP and Composer installed on your host (recommended):, (*2)

Drupal core

composer -n create-project druidfi/spell:dev-core my-drupal-site

Drupal CMS

composer -n create-project druidfi/spell:dev-cms my-drupal-cms-site

Create a new project with Docker image

If you don't have PHP and Composer, but you have Docker installed:, (*3)

Drupal core

mkdir my-drupal-site && cd my-drupal-site && \
docker run --rm -it -v $PWD:/app --env COMPOSER_MEMORY_LIMIT=-1 \
    druidfi/drupal-web:php-8.3 \
    composer -n create-project druidfi/spell:dev-core .

Drupal CMS

mkdir my-drupal-cms-site && cd my-drupal-cms-site && \
docker run --rm -it -v $PWD:/app --env COMPOSER_MEMORY_LIMIT=-1 \
    druidfi/drupal-web:php-8.3 \
    composer -n create-project druidfi/spell:dev-cms .

Get started

Now you need to have Stonehenge up & running., (*4)

Start the development environment, build development codebase and install empty site with minimal profile:, (*5)

make new

Now your site can can be accessed from https://yoursite.docker.so, (*6)

Next steps

Git has been init in the project, but you need to specify your remote before you can push., (*7)

You can run make help to list all available commands for you., (*8)

Running tests on Spell when developing

On macOS you need first to install Chromedriver and allow it to execute:, (*9)

brew install chromedriver
xattr -d com.apple.quarantine /opt/homebrew/bin/chromedriver

Then run the same test scenario as in Github Actions:, (*10)

make test

Other information

This project can be found from the Packagist: https://packagist.org/packages/druidfi/spell, (*11)

The Versions

19/04 2018

dev-master

9999999-dev https://github.com/druidfi/spell

Spell to create a new Drupal 8 project

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marko Korhonen
by Druid.fi

15/04 2018

dev-options

dev-options https://github.com/druidfi/spell

Spell to summon a new Drupal 8 project

  Sources   Download

MIT

The Requires

 

The Development Requires

by Druid.fi

21/03 2018

dev-lagoon

dev-lagoon https://github.com/druidfi/spell

Spell to create a new Drupal 8 project

  Sources   Download

MIT

The Requires

 

The Development Requires

by Druid.fi

21/03 2018

dev-makefile-approach

dev-makefile-approach https://github.com/druidfi/spell

Spell to create a new Drupal 8 project

  Sources   Download

MIT

The Requires

 

The Development Requires

by Druid.fi

28/02 2018

dev-2018-feb-updates

dev-2018-feb-updates https://github.com/druidfi/spell

Spell to create a new Drupal 8 project based on druidfi/d8-template

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marko Korhonen

12/01 2018

dev-readme-changes

dev-readme-changes https://github.com/druidfi/spell

Spell to create a new Drupal 8 project based on druidfi/d8-template

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marko Korhonen

05/10 2016

1.0.0

1.0.0.0 https://github.com/druidfi/spell

Spell to create a new Drupal 8 project based on druidfi/d8-template

  Sources   Download

MIT

The Requires

  • php ^7.0
  • druidfi/d8-template dev-composer-project

 

by Marko Korhonen