Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 658 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 658 Bytes

eLife 2.0 Dummy API

This contains a dummy implementation of the eLife 2.0 API.

Import article

docker compose run app ./bin/import 09560

The above command should result in a data fixture for article 09560 being created at data/articles/09560.json

Run locally

docker compose up

Then visit http://localhost:8080/articles in your browser.

Update local vendor for development

docker compose -f docker-compose.dev.yml run composer install

Run tests

docker compose run --rm app ./project_tests.sh