Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

demo not working #82

@IlyasMoutawwakil

Description

@IlyasMoutawwakil

First of all thank you very much for this repo.
I'm trying to build something like IREE's benchmark dashboard but I'm struggling with the demo.
I was able to spot some bugs after lots of debugging (not a node expert):

  • sessionSecret should be set to a string in configs/dana.js
  • adminUser should be a list in configs/dana.js ? because that's how it's used in src/server.js

dana/src/server.js

Lines 1073 to 1084 in cfaa558

function findByUsername(username, cb) {
let records = global.config.adminUser;
process.nextTick(function() {
for (let ii = 0, len = records.length; ii < len; ii++) {
let record = records[ii];
if (record.username === username) {
return cb(null, record);
}
}
return cb(null, null);
});
};

  • Web socket client only works after uncommenting some code in src/server.js.
  • Now I'm at a point where server crashes after I run pullDummyData.js, which creates empty folders and files in configs/db/Test/series.

Can someone from the IREE team share with me a minimal functioning example/demo I would be very grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions