Clone the repository from the command line:
$ git clone https://github.com/calibro/ti-scraper.git
browse to scraper root folder:
$ cd ti-scraper/
install dependencies:
$ npm install
run server
$ node server.js
By defalut the scraper port
is set to 3000
.
You can change it by using env
variable PORT
.
example:
$ PORT=1234 node server.js
You can use your preferred process manager in production mode, like PM2.
installation:
$ npm install pm2 -g
run server:
$ pm2 start server.js