Skip to content

Latest commit

 

History

History

ws-astro-ner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

ws-astro-ner@1.0.2

Requirements

Before building, ensure that the installed certifi is a recent one (in Dockerfile).

Build

Required: initialize environment variables:

  • WEBDAV_URL
  • WEBDAV_LOGIN
  • WEBDAV_PASSWORD

Remember: when using a webdav remote, the URL's protocol is webdav. Remember: Do not forget to export these environment variables.

Before calling npm run build or npm start.

📗 Suggestion: put them in .env file and don't forget to run source .env before calling npm run build or npm start.

Test

curl -X POST "http://localhost:31976/v1/tagger" \
     -H  "accept: application/json" -H  "Content-Type: application/json" \
     -d "[{\"id\":1,\"value\":\"V643 Orionis is a binary star system located in the Orion constellation, offering valuable insightsinto stellar evolution.\"}]"