Make sure you have NodeJS 18 and PM2 (you can follow Step 3 & 4 on link here) installed before starting further.

Step 1: Install Ulixee Hero

  1. Create a new app folder:

    cd /home && mkdir hero-app && cd hero-app
  2. Install Hero browser & express modules:

    npm i --save @ulixee/hero @ulixee/hero-core express
  3. Clone the github repository:

    git clone https://github.com/saimintech/extraction.git
  4. Add Hero service and Express service on PM2

    pm2 start npx --name "ulixee-cloud" -- @ulixee/cloud start

    pm2 start /home/hero-app/index.js

    pm2 save



    Now we need to setup a reverse proxy to access the expresss endpoint.