Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 507 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 507 Bytes

Requirements (local use)

  • npm v.6.13.4
  • node v.12.16.1
  • python v.3.8.6

How to run (local, dev)

  • npm install
  • npm run dev

Standard configuration (file config.js)

  • lang: "en"
  • host: "localhost"
  • port: "3001"

How to deploy (heroku, via CLI, for lang='en')

  1. Create app.
  • heroku create -a jace-ner-en
  1. Add buildpacks:
  • heroku/nodejs
  • heroku/python
  1. Set language.
  • heroku config:set -a jace-ner-en NER_LANG=en
  1. Deploy!