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

Updated webserver.js for Iroh integration #43

Open
wants to merge 2 commits into
base: f24
Choose a base branch
from
Open

Conversation

heyanuja
Copy link

This PR adds the necessary code to integrate the Iroh node starting process into webserver.js. The changes include adding a command to start the Iroh node using child_process in the Node.js environment. This integration will allow for distributed app support within our deployment, fulfilling part of the requirements for our CI/CD pipeline. The Iroh node is executed using the child_process.exec function, and its logs are captured for troubleshooting purposes!

@heyanuja
Copy link
Author

Screenshot 2024-10-24 at 11 05 02 PM

Iroh start command in a separate terminal,
after building and trying to "restart" iroh, this is good to see

Screenshot 2024-10-24 at 11 06 53 PM

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11511091282

Details

  • 5 of 9 (55.56%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 82.631%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/webserver.js 5 9 55.56%
Totals Coverage Status
Change from base Build 11448330104: -0.01%
Covered Lines: 22416
Relevant Lines: 25702

💛 - Coveralls

Copy link

@katcday katcday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@heyanuja
Copy link
Author

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

Successfully merging this pull request may close these issues.

3 participants