Getting Started Template for Docker Users
- Wechaty is fully dockerized. So it will be very easy to be used as a MicroService.
- Clone this repository, then you will be able to use Docker to run Wechaty with ZERO configuration.
- Docker
- Global Internet Connection
Source code at src/typescript.ts
bin/docker-run-typescript.shSource code at src/javascript-esm.js
bin/docker-run-javascript-esm.shSource code at src/javascript-vanilla.js
CommonJS will not be supported anymore because we have switched to pure ESM from Wechaty v1.0.
The above scripts(bin/docker-run-*.sh) will pass all environment variables that start with WECHATY_ from current shell to the Docker container.
All you need is just to set it under the shell before you run the bin/docker-run-*.sh.
export WECHATY_LOG=verboseQuick & easy install Docker via:
curl -sSL https://get.docker.com | shOr
wget -qO- https://get.docker.com/ | shGet to know more about Docker at: https://www.docker.com/
BATS: HOW TO USE BATS TO TEST YOUR COMMAND LINE TOOLS
- Wechaty Getting Started: https://github.com/wechaty/wechaty-getting-started
- Heroku Wechaty Getting Started: https://github.com/wechaty/heroku-wechaty-getting-started
- Update example code to match Wechaty v1.x API
- Enable GitHub Actions (and remove Travis CI)
Init docker support.
 
- Code & Docs © 2018-now Huan LI <[email protected]>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons