Commercetools x Filerobot Application

Prerequisites

  • Nginx
  • PM2
  • Nodejs > v16.10.0
  • Certbot

1. Download and Installation the Filerobot module

  • Step 2: Upload and unzip to the server at your domain path (Ex: /var/www/public_html/)
  • Step 4: Go to the source folder and run "npm install", "npm run build" (this command will build and create a folder public)
  • Step 5: Go to the folder public and run "pm2 serve --spa".
  • Step 6: Config your domain, port you will run with Nginx and create SSL with Certbot (Read here)

    Ex: Config with port 8080

    Photo alt \#responsive

2. Configuration

Photo alt \#responsive

Photo alt \#responsive

Photo alt \#responsive

Configure the Filerobot module as follow:

Photo alt \#responsive

Photo alt \#responsive

  • For Commercetools project:

    • Clone file custom-application-config.example.mjs and rename to custom-application-config.mjs
    • Input your Commercetools configuration
  • For Filerobot module:

    • Clone file filerobot-config.json.example in folder "src" and rename to filerobot-config.json
    • Input your Filerobot token, SEC, upload directory, and any other options as fitting.