Skip to content

elifesciences/journal-cms

Repository files navigation

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

First you need to install DDev, installation instruction for most platforms available here: https://ddev.readthedocs.io/en/latest/users/install/ddev-installation/

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

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

If you want to completely replay the set up of this project locally then you can run the following commands:

ddev stop --remove-data
ddev composer run-script clean-up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published