Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 1.5 KB

README.md

File metadata and controls

75 lines (49 loc) · 1.5 KB

Project name

Ex. The project contains the company's website.

LAMP Software

Table of Contents


Installation

Clone

Clone this repo to your local machine using: git clone git@...

Setup (with docker)

  • Clone the docker/.env.dist file to docker/.env

  • Customize the docker/.env file with your parameters

  • Customize the stack for your host/OS (MAC users see this instructions)

  • Run docker and access to container PHP:

cd docker
make up
make solr-init
make shell

Install

  • Download libraries with composer:

    composer install --prefer-dist
  • Install Drupal and Project

    Scratch:

    robo scaffold --site=site1
    robo install:config minimal --site=site1
    
    robo scaffold --site=site2
    robo install:config minimal --site=site2 
  • Test use (Run inside a container PHP).

    drush --uri=site1 en devel_generate
    drush --uri=site1 genc 5 --bundles=article --add-type-label --kill --authors=1
    drush --uri=site1 pm:uninstall devel_generate
    
    drush --uri=site2 en devel_generate
    drush --uri=site2 genc 5 --bundles=article --add-type-label --kill --authors=1
    drush --uri=site2 pm:uninstall devel_generate

or run this robo command

robo test:contents