Ensure the you have the following installed:
- VirtualBox
- Vagrant
- Hostupdater (
vagrant plugin install vagrant-hostsupdater
) - Composer
COMPOSER=composer-setup.json composer install
vagrant up
Once it is setup, visit http://journal-cms.local
.
First, ssh into the VM.
vagrant ssh
cd /var/www/journal-cms
Next, you need to install the dev dependencies.
composer install
Then, you can run the project tests...
./project_tests.sh
Or you can run the smoke tests.
./smoke_tests.sh
To install the Git precommit that prevents committing large files, run:
cp .git-hooks-pre-commit .git/hooks/pre-commit
If you want to completely replay the set up of this project locally then you can run the following commands:
vagrant destroy -f
vagrant box remove geerlingguy/drupal-vm
composer run-script clean-up