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

[#1] Add local db support #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

naveen-kumar-vadla
Copy link
Contributor

No description provided.

@github-actions github-actions bot enabled auto-merge (squash) May 18, 2023 15:08
local.js Outdated
const domain = url.replace('https://', '');
process.env.HOSTNAME = domain;
(async function () {
const url = await ngrok.connect(port).catch(console.error);
Copy link
Contributor

Choose a reason for hiding this comment

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

We are using await here, I'm not sure if the catch method is invoked on exception.

Copy link
Contributor

Choose a reason for hiding this comment

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

We need use try catch

@@ -0,0 +1,14 @@
version: "1"
services:
hygieia-mongo:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a service for our bot to start locally by npm run local

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.

2 participants