Skip to content

paulmartin84/journal-cms

 
 

Repository files navigation

eLife Journal CMS

Build Status

Preparation

Ensure the you have the following installed:

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

Instructions

COMPOSER=composer-setup.json 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/drupal-vm
composer run-script clean-up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 85.9%
  • JavaScript 9.7%
  • Shell 2.0%
  • Twig 1.7%
  • Other 0.7%