https://github.com/kermitt2/grobid
Tip revision: 9d257d5ac6a1577b5cee2fa7e59cd50429a66328 authored by Patrice Lopez on 19 October 2020, 04:53:56 UTC
update jep version to 3.9.1
update jep version to 3.9.1
Tip revision: 9d257d5
README.md
# Grobid Service
## Running service
* From IntelliJ IDEA:
* Just run the `main()` in `org.grobid.service.main.GrobidServiceApplication`
* Via Gradle, under the project main repository `grobid/`:
* `./gradlew grobid-service:run`
## Building a distribution
* Under the project main repository `grobid/`:
* `./gradlew grobid-service:assemble`
* The distribution can be found in `grobid/grobid-service/build/distributions/`. An archive contains
* All runtime dependencies
* A bash script to start a server (`bin/grobid-service service "$path-to-yaml-config"`)
* Documentation in `/doc`
## Running from a distribution
The `config.yaml` should be taken and adapted accordingly. Since the config values highly depend
on the environment and the deployment process, the `config.yaml` is not bundled with the distribution.
Things to change:
* Make sure to provide a path to a valid a grobid-home
* Ports might be adapted in `server.applicationConnectors.port` (default is `:8070`)
* Adapt the logging folders as needed, or remove file appender if you don't need file logging.