Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 1.36 KB

File metadata and controls

79 lines (52 loc) · 1.36 KB

eLife Journal CMS

Build Status

Preparation

Ensure that you have the following installed:

  • VirtualBox
  • Vagrant
  • Hostupdater (vagrant plugin install vagrant-hostsupdater)
  • Composer

Instructions

composer install
vagrant up

Once it is setup, visit http://journal-cms.local.

Running the Tests

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

Git hooks

To install the Git precommit that prevents committing large files, run:

cp .git-hooks-pre-commit .git/hooks/pre-commit

Project reset

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/ubuntu2004
composer run-script clean-up

Goaws

The setup of goaws has been temporarily disabled. Most development is unimpacted by this but we have created a ticket to restore this functionality.

DDev setup

ddev start
ddev drush si minimal --existing-config -y

Visit http://journal-cms.ddev.site:8080.