Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 817 Bytes

README.md

File metadata and controls

62 lines (39 loc) · 817 Bytes

ti-scraper

Requirements

Instructions

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

Customisation

Port

By defalut the scraper port is set to 3000.

You can change it by using env variable PORT.

example:

$ PORT=1234 node server.js

Process manager

You can use your preferred process manager in production mode, like PM2.

installation:

$ npm install pm2 -g

run server:

$ pm2 start server.js