An experimental demo app to convert PDF into DAR JATS, that is understood by Texture.
Watch the space
./setup.sh
Effect:
- That will create
.temp/data
and change permissions to allow texture write access.
make build
or:
docker-compose build
Effect:
- Creates local
elifesciences/*
Docker images.
make start logs
(use make stop
to stop the server)
or:
docker-compose up
Effect:
- Starts all the Docker containers.
- The demo website will be available on port 8000 (via nginx).
- nginx will forward requests based on the path (e.g. root to texture,
/api
to ScienceBeam) - Other ports may also be exposed but are not required
Note: If the ScienceBeam API request fails the first time, this may be due to a timeout while it is loading the models. It may work on subsequent requests.
./sciencebeam-convert-examples.sh
Effect:
- Downloads sample PDFs
- Converts PDF by running the elifesciences/sciencebeam container
- Please read the README file in the demo folder to setup the Front End for seeing styling changes, without needing to rebuild the Docker image.