A web service for manuscript conversion.
The pressroom-base Docker image tag is referenced in 3 places: twice in Dockerfile and once in gitlab-ci.yml. To upgrade the base image replace the image tag in all these places with the latest image tag (which is the latest commit hash on the pressroom-base master branch).
docker-compose up --build- Open http://0.0.0.0:5000/ to check the status
- Open http://0.0.0.0:5000/api/v2/docs/ to view the docs
brew install pandocbrew install latexmlbrew install bibutilsbrew install tectonicbrew cask install basictexbrew cask install --no-quarantine princebrew install python3 cairo pango gdk-pixbuf libffi && pip3 install WeasyPrintyarn global add @manuscripts/mathjax-filtergem install anystyle-cliyarn dev
- Copy
.env.exampleto.envand edit the values as needed. - Run
yarn devto start the server withnodemon.
docker run --rm -it -v "$(pwd)":/app:delegated registry.gitlab.com/mpapp-public/pressroom-base/master:latest /bin/bash
cd /app
yarn install --force
yarn test -u- The API documentation is served at
/api/v2/docs. - After editing the Swagger documentation for a route, run
yarn buildto rebuild thedistfolder, then restart the dev server to pick up the changes.