drupalnyc.org is hosted on Amazee.io.
- Follow the documentation to install DDEV.
- Create a directory to contain the site (e.g.
mkdir ~/Sites/drupalnyc) - Change to that directory (e.g.
cd ~/Sites/drupalnyc) git clone git@github.com:Drupal-NYC/drupalnyc-d8.git .ddev startterminus loginddev robo rebuild:db drupalnyc.live
You now have a fully functional local environment with the latest database and files from the Pantheon site's Live environment, accessible at https://drupalnyc.lndo.site/
git push as normal.
Drush: ddev drush <command>
Robo: ddev robo list
ddev xdebug on
Now everything will run slower :)
The lagoon hosting system uses Docker and Kubernettes.
docker-compose.ymldefines the services used to host the site..lagoon.ymldefines deployment tasks and environments.- Service containers are built using the dockerfiles in the
lagoondirectory. Mostly these are adapted directly from Lagoon provided examples. thecli.dockerfilehas been customized to build our theme after running acomposer install. This means that our deployed code is built into to container that is used to host the site.
It's possible to ssh into the running containers. See https://uselagoon.github.io/lagoon-cli/.