vinlaurens/drupal-base

Project template for Drupal projects.

dev-master 2021-12-31 00:26 UTC

This package is auto-updated.

Last update: 2024-03-29 04:39:51 UTC


README

Drupal base for starting new projects.

  • INSTALL
    • Download the project.
  • USED MODULES - Require - Require development
  • UP FOR REVIEW
  • UP FOR REVIEW DEV
  • SECURITY UP FOR REVIEW
  • PERFORMANCE UP FOR REVIEW
  • DOCUMENTATION
    • Tools
    • MKDocs
    • Installation
    • Run server

INSTALL

Download the project.

  1. To start a fresh project execute the following command. composer create-project vinlaurens/drupal-base:dev-master some-dir --no-interaction

Install the project.

  1. Create MySQL database named: vm_drupal_base
  2. Execute the following drush command. vendor/bin/drush site-install --account-name=admin --account-pass=admin --account-mail=noreply@local.local --site-mail=admin@dev.drupal.test --existing-config -y -vvv
  3. Remove composer.lock from the .gitignore file

Build and deploy the project

  1. Make sure "composer install" has been run.
  2. Run "make config". A file will be created in "config/deploy.ini"
  3. Edit "config/deploy.ini" and update ACCEPTANCE and PRODUCTION servers with respective IPs. Make sure the other data is correct.
  4. Run "make build".
  5. Run "make deploy".

USED MODULES

Require

Require development

UP FOR REVIEW

UP FOR REVIEW DEV

SECURITY UP FOR REVIEW

PERFORMANCE UP FOR REVIEW

DOCUMENTATION

Tools

MKDocs

Installation

  1. First install MKDocs on your computer pip install mkdocs

Run server

MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it.

  1. Make sure you’re in the same directory as the mkdocs.yml configuration file.
  2. Start the server by running $ mkdocs serve
  3. Open up http://127.0.0.1:8000/ in your browser