question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run OSSChat locally Failed

See original GitHub issue

when I run npm run start. this warning shows up. In localhost:5000, there is no qrcode for scan. 17:08:53 WARN HAWechaty start() rejection: Error: no wechaty puppet found there is no place to change or set puppet.plz help

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
huancommented, Apr 14, 2020

Ok, let me give you some clues for the environment variables, I believe you need to drive into it for a while before you can set it up locally.

To make the OSSChat run, we need at least the following environment variables, please read my inline comments for explanation.

Part 1: Probot

Learn more from https://probot.github.io/ because we are using the Probot framework.

# GitHub Apps Config for our OSSChat at https://github.com/apps/osschat
APP_ID=50239
PRIVATE_KEY='-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----\n'

# Webhook for GitHub Apps to push notifications (issues, PRs, etc)
WEBHOOK_PROXY_URL='https://smee.io/callback_url'
WEBHOOK_SECRET=webhook_secret

Part 2: Wechaty

# High Available Wechaty Config, see: https://github.com/wechaty/HAWechaty
HA_WECHATY_PUPPET='wechaty-puppet-hostie:wechaty-puppet-padplus'
HA_WECHATY_PUPPET_HOSTIE_TOKEN=puppet_hostie_token
HA_WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_token

# The Bot Name
WECHATY_NAME=OSSChat

I hope the above information will help you to understand. Please feel free to comments on this issue if you have any questions.

If you have any questions related to Wechaty, please read https://github.com/wechaty/wechaty first.

0reactions
huancommented, Apr 14, 2020

You are welcome, and good luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Requests · GitHub
Run OSSChat locally Failed #108 opened by JesseWeb documentation. Improvements or additions to documentation question. Further information is requested.
Read more >
Rasa chatbot and cors locally throws an error in firefox console
But when I run flask server I can see the widget and when I start conversation, in firefox console I get the error...
Read more >
Code of conduct | SpareBank 1 SR-Bank
All our activities shall be sustainable, both locally and globally. ... no employees may run private businesses or participate in commercial boards of ......
Read more >
Zulip 4.0: Threaded open source team chat | Hacker News
Failing the change mentioned above, it would at least be nice to ... Zulip's an awesome F/OSS chat option, consider contributing to it, ......
Read more >
the “app native” paradigm and the future direction of OSS ...
Baseline primitives will be in place to run applications at planet ... Spanner applied to all cross-cluster, non-local computing concerns.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found