Skip to content

aesirxio/pim-app

Repository files navigation

AesirX PIM

About

AesirX PIM is our Open-Source Product Information Management as a Service (PIMaaS) Solution

Find out more in https://pim.aesirx.io

Development

  1. This project is using Monorepos with git submodule. You need to run git submodule update --init --recursive after cloned the project.

  2. Run yarn install to install the dependencies.

  3. Run yarn prepare to build the dependencies.

  4. Rename the .env.dist file to .env on packages/aesirx-pim-app folder.

  5. Replace license keys in the .env file with the one provided in your profile account.

    1. REACT_APP_SSO_CLIENT_ID replace this with the provided REACT_APP_SSO_CLIENT_ID from https://dapp.shield.aesirx.io/
    2. REACT_APP_SSO_CLIENT_SECRET replace this with the provided REACT_APP_SSO_CLIENT_SECRET from https://dapp.shield.aesirx.io/
    3. PORT change the port. Default is 3000
  6. Run yarn dev

  7. Open http://localhost:3000 - 3000 is PORT to view it in the browser.

Production

Run on a webserver:

  1. Run yarn build after changed .env file.
  2. Upload packages/aesirx-pim-app/build folder to webserver.

Dockerize

  1. Rename and copy the .env.dist file to .env on packages/aesirx-pim-app folder to root folder.
  2. Run docker compose -f "docker-compose.yml" up -d --build