Skip to content

scottaubrey/sciencebeam-texture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScienceBeam Texture

An experimental demo app to convert PDF into DAR JATS, that is understood by Texture.

Status

Watch the space

Pre-requisites

Setup

Setup Local Data Directory

./setup.sh

Effect:

  • That will create .temp/data and change permissions to allow texture write access.

Build images

make build

or:

docker-compose build

Effect:

  • Creates local elifesciences/* Docker images.

Run containers

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.

Convert Sample PDFs using ScienceBeam Container

./sciencebeam-convert-examples.sh

Effect:

  • Downloads sample PDFs
  • Converts PDF by running the elifesciences/sciencebeam container

Front End

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 65.5%
  • Mustache 28.2%
  • Makefile 6.3%