Skip to content

akb89/myValencer

Repository files navigation

myValencer

GitHub release Build Dependencies DevDependencies MIT License

Welcome to myValencer, the valence pattern search engine for FrameNet!

myValencer is a web application powered by the Valencer API

Are you using us in your work? Please cite us!

@InProceedings{kabbach-ribeyre:2017:ELEX,
  author    = {Kabbach, Alexandre  and  Ribeyre, Corentin},
  title     = {myValencer: a Valence Patterns Search Engine for FrameNet},
  booktitle = {eLex 2017 conference},
  month     = {September},
  year      = {2017},
  address   = {Leiden, Netherlands},
  url       = {https://elex.link/elex2017/}
}

Documentation

Check out myValencer's manual

HowTo – Start myValencer

Install the required dependencies

Run the following command in your terminal, under myValencer directory:

npm install

Set-up the configuration

Modify the app/config/production.js file according to your desired settings:

const production = {
    port: 5555,
    api_host: 'https://api.valencer.io',
};

With port the port of myValencer and api_host the URL of the Valencer API

Build the distribution

Run the following command in your terminal, under myValencer directory:

npm run build

Start the server

Run the following command in your terminal, under myValencer directory:

npm run start

Stop the server

To stop the server, run:

npm run stop

Monitoring

To monitor myValencer once started, run:

pm2 monit myValencer

If pm2 is not installed globally in your environment, you can also do:

./node_modules/.bin/pm2 monit myValencer

To access myValencer logs, run:

pm2 logs myValencer