Skip to content

bendygirl/Drupal-GovCon-2017

 
 

Repository files navigation

Drupal GovCon

Welcome to the repo for the Drupal GovCon event website.

Tools we are using: Acquia BLT

Prereqs

Quickstart Instructions

  • Before you start, do ssh-add -l to ensure your private key is registered. If not (especially after a system update), do ssh-add -K ~/.ssh/id_rsa to do this.
  • Install the prereqs above by following BLT's Installing Requirements and then vagrant plugin install vagrant-hostsupdater
  • Fork this repo
  • Clone repo locally (clone your fork, do NOT clone the main repo)
  • Configure a remote for the main repo (replace upstream with whatever naming makes sense to you) git remote add upstream [email protected]:Drupal4Gov/Drupal-GovCon-2017.git
  • From the repo root, run composer install
  • composer blt-alias
  • source ~/.bash_profile
  • blt vm
  • Access local Drupal install at http://local.capitalcamp.com/

Troubleshooting

Cybersquatting site for capitalcamp.com loads in browser instead local Drupal install

It's likely your /etc/hosts file wasn't updated properly. Ensure you have the Vagrant hostsupdater plugin vagrant plugin list and then try to reprovision your VM from the box dir with vagrant reload --provision

PHP version is not correct

blt/composer may complain that you have the wrong PHP version. If this happens there are a lot of options for installing a different version of PHP. Easiest is probably with homebrew. After installing PHP 5.6 with homebrew you may need to reorder your path to include /usr/local/bin before /usr/bin. To do this run the following commands:

echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

source ~/.bash_profile

About

Drupal GovCon 2017 Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.9%
  • JavaScript 0.7%
  • PHP 0.3%
  • CSS 0.1%
  • Shell 0.0%
  • ApacheConf 0.0%