Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.35 KB

File metadata and controls

52 lines (36 loc) · 1.35 KB

Local development environment

Docker based

When ever possible, we prefer Docker based local development.

For sites hosted on Amazee.io, there is additional information here.

Requirements

OSX / macOS

Linux

Setup workflow

  • Start Cachalot or Pygmy
  • Clone project repository
  • Build the codebase
  • Start Docker environment with docker-compose up -d
  • Login to container with docker-compose exec --user drupal drupal bash
  • Get database and files and put in place
  • Set up PhpStorm + Xdebug
  • Develop

Vagrant based

Currently the default option for most projects. Project is developed on top of infra created for the project. Infra repository has Vagrant configuration with Ansible provision.

Requirements

Setup workflow

  • Clone infra repository
  • Clone project repository
  • Build the codebase
  • Create Vagrant machine with vagrant up (this will also provision it)
  • Get database and files and put in place
  • Put IP address to /etc/hosts
  • Develop