Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo not working #82

Open
IlyasMoutawwakil opened this issue May 12, 2023 · 1 comment
Open

demo not working #82

IlyasMoutawwakil opened this issue May 12, 2023 · 1 comment

Comments

@IlyasMoutawwakil
Copy link

IlyasMoutawwakil commented May 12, 2023

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.

@IlyasMoutawwakil
Copy link
Author

@antiagainst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant