is setup.js needed?
Closed this issue · 2 comments
rhagarty commented
Not sure what purpose this file serves.
rameshpoomalai commented
Hi Rich,
This will be called once during installation, it adds following initial data to the Graph DB.
-
The graph by name "procurement" is created in Graph DB. this is required before creating any Node/Vertex
-
Creates the Bootstrap graph, like Continent, Region, Country, Known suppliers, Known locations, Product(MMA),And know port. But this is not the final list, during the document ingest and sync process found any new county/port/supplier i will add to the system. So we are bootstrap with the minimal data.
rameshpoomalai commented
without this script we will not be able to add any vertex to the graph db. so this file is required one.