Skip to content

Drupal4Gov/Drupal-GovCon-2017

Repository files navigation

Drupal GovCon

Welcome to the repo for the Drupal GovCon event website. This is an open source project and we proudly make all of our source code available (not only to those that want to contribute to the project, but for those that are interested in seeing a working Drupal 9 site!).

Getting Started

  • Ensure that your computer meets the minimum installation requirements (and then install the required applications). See the BLT System Requirements and Lando System Requirements.
  • Fork the parent repository in GitHub
  • Request access to the Drupal4Gov organization in GitHub
  • Request access to the Acquia Cloud Environment for Drupal GovCon
  • Setup a SSH key that can be used for GitHub and the Acquia Cloud (you CAN use the same key)

After creating a fork of the repository in Github 9and installing all dependencies above) there are only 4 commands to get started:

  • git clone (clone your fork)
  • composer install (install dependencies for the project)
  • lando start (provision the vm)
  • lando composer site-install (install Drupal)

Working with Lando and Composer Scripts

Our team utilizes a standard Git flow for our development workflow. You can read more about our recommended workflow in the BLT docs.

In general, "all" commands (drush, composer, etc.) should be run "inside" the Lando container. You can do this by first running the lando command.

For example:

Cleanly Install Drupal:

lando composer site-install

Sync Drupal Database from Cloud:*

lando blt sync

Log Into Drupal

lando drush uli

Resources