Deploy to Heroku for Wechaty Starter Project
Creating a 'Deploy to Heroku' Button
The ‘Deploy to Heroku’ button enables users to deploy apps to Heroku without leaving the web browser, and with little or no configuration. The button is ideal for customers, open-source project maintainers or add-on providers who wish to provide their customers with a quick and easy way to deploy and configure a Heroku app.
- Deploy to Heroku without leaving the Web Browser. See
Deploy to Heroku
Button above - Restore Wechat Bot Session across Restart by enable MemoryCard with AWS S3. See
src/get-memory.ts
- Hot Module Reload Enabled for convenience when developing. See
src/handlers/on-*.ts
- Send Online/Offline Notification Message to BotSelf when the Program Start/Stop. See
src/finis.ts
- Simpel Web Server that can be used to Scan QR Code, or any other operations integrated with Wechaty. See
src/start-web.ts
- If an app has a web dyno, and that web dyno receives no traffic in a 30 minute period, the web dyno will sleep
- Dynos are restarted (cycled) at least once per day to help maintain the health of applications running on Heroku
- Creating a 'Deploy to Heroku' Button
- Introducing Heroku Button
- https://github.com/heroku/button-sample
- Heroku App.Json Manifest and Button Maker
- Why does SIGTERM handling not work correctly in NodeJS with NPM?
- Friday BOT - https://bot-friday.herokuapp.com/
- OSSBot - https://oss-bot-dev.herokuapp.com/
- Mike BO - http://mike-bo.herokuapp.com/
- QiJi BOT - https://qiji-bot.herokuapp.com/
- Bot Ops - https://bot-ops.herokuapp.com/
- Rui Assistant BOT
- Juzi.BOT
Wechaty 0.56
Init version for deploy to HeroKu
To completely 'stop' your app you can scale the web dynos down to zero which effectively takes all your app http-processes offline.
$ heroku ps:scale web=0
Scaling web processes... done, now running 0
Huan LI (李卓桓) <zixia@zixia.net>
- Code & Docs © 2018 Huan LI <zixia@zixia.net>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons