Skip to content

far-edge/model-repository

Repository files navigation

Model repository is the FAR-EDGE component that provides the mechanisms to manage:

  • Data Kinds (DK)
  • Data Interfaces (DI)
  • Data Source Definitions (DSD)
  • Analytics Processor Definitions (APD)

REQUIREMENTS

CLONE

git clone [email protected]:far-edge/model-repository.git

CONFIGURE

Create .env based on .env.example.

cp .env.example .env

Edit .env.

CREATE THE VIRTUAL ENVIRONMENT

cd model-repository
nodeenv -n 10.1.0 --prebuilt env

ACTIVATE THE VIRTUAL ENVIRONMENT

. env/bin/activate

INSTALL THE DEPENDENCIES

npm install

RUN

npm start

DEACTIVATE THE VIRTUAL ENVIRONMENT

deactivate_node

LINT

npm run lint

TEST

npm test

GENERATE THE DOCUMENTATION

npm run doc

Packages

No packages published

Languages