Contribution to Inventory

This section provides details on how to participate/contribute to the inventory project.

Build local development environment

This section will guide developers to build Inventory module locally and help developers to quickly understand and develop code

The local startup of Inventory depends on:

- DataBase

In order to build a local environment, the final startup sequence is Mecm-Prerequisite -> DataBase -> Inventory

DataBase

  1. Download and install postgres 12.3 database
  2. Set login name and password, such as inventory
  3. Create a database named inventorydb

inventory-db.png

Inventory

  1. Download Inventory Code
  2. Configure the runtime environment variables (using IDEA as an example)

inventory.png

  1. Update key-store and trust-store path in application.yaml

key-store.png

  1. Run InventoryApplication to start inventory