These are chat archives for ipcortex/FAC-FMC

11th
Jul 2016
Peter Wilson
@peterw8102
Jul 11 2016 14:14
Hi Guys, just trying to run up the latest code. The instructions are a lot better now :-) how do I run the poller though?
Robert Francis
@RobStallion
Jul 11 2016 14:15
Oh we will add that into the readme but till then it is ...
node polling/index.js
just run that command in your terminal and it will run the polling functionallity
you will need to create a SAVE_FILE_PATH in your config.env file if you want to save the audio
Peter Wilson
@peterw8102
Jul 11 2016 14:21
That's what I thought but when I run that command it returns very quickly with no debug output and there's nothing in the database. I'll check to see whether I'm doing anything odd.
Peter Wilson
@peterw8102
Jul 11 2016 15:10
Would it be useful for me to come down tomorrow?
Rob and I are coming down Wednesday for the end of project handover/debrief.
Robert Francis
@RobStallion
Jul 11 2016 15:11
Yeah I think that could only be helpful
Peter Wilson
@peterw8102
Jul 11 2016 15:27
I'm trying to use the poller. Having some success! I can't find any code other than 'checkCompaniesTable' that puts companies into the appropriate database table. That function doesn't seem to be called though. Instead getCompany_id() fails because the company isn't in the table.
Peter Wilson
@peterw8102
Jul 11 2016 15:38
As long as I manually add the companies into the company table though the rest of the poller seems to work well :)