Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 656 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 656 Bytes

eLife 2.0 Dummy API

This contains a dummy implementation of the eLife 2.0 API.

Import article

For example to import the article with ID 85111:

make import-article ARTICLE_ID=85111

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

Run locally

make dev

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

make test