Iniciar servidor WebSocket/REST

Para iniciar a interface WebSocket/REST do CPqD ASR:

  1. Vá para a máquina onde foi instalado o CPqD ASR e abra um console.

  2. Inicie o servidor WebSocket/REST, através do comando:

    $ ./opt/cpqd/asr/server/bin/start-server
    
  3. Aguarde a inicialização completa do servidor, através do log:

    $ tail -F /var/log/cpqd/asr/server/asr-server.log
    
    WARN   [17-08-16 10:54:27.216] [main] b.c.c.a.s.AsrServerApplication [] Starting ASR Server
    WARN   [17-08-16 10:54:27.220] [main] b.c.c.a.AsrEngine [] Loading ASR: /opt/cpqd/asr/engine/lib/libcpqd_asr.so, /opt/cpqd/asr/config/engine/engine.conf
    WARN   [17-08-16 10:58:28.600] [main] b.c.c.a.AsrEngine [] [0] ASR engine created (2.5.0-rc1)
    WARN   [17-08-16 10:58:28.600] [main] b.c.c.a.s.AsrServerApplication [] Server started after 241 secs