https://github.com/keymesh/wechatbot
https://github.com/keymesh/wechatbot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/keymesh/wechatbot
- Owner: keymesh
- Created: 2018-05-17T15:06:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T10:46:09.000Z (about 8 years ago)
- Last Synced: 2025-12-09T13:03:55.874Z (8 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
KeyMesh wechat bot
==========================
## Requirements
NodeJS 8 and yarn
```shell
sudo apt-get update -y && \
sudo apt-get install -y make apt-transport-https ; \
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - ; \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - ; \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list ; \
sudo apt-get update -y ; \
sudo apt-get install -y nodejs yarn
```
```shell
sudo apt-get -y install libpangocairo-1.0-0 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libnss3 libcups2 libxss1 libxrandr2 libgconf2-4 libasound2 libatk1.0-0 libgtk-3-0 supervisor
```
## Installation
clone respo
```shell
git clone git@github.com:keymesh/wechatbot.git
```
make a temp directory
```shell
mkdir -p /home/ubuntu/wechatbot/temp
```
config supervisor
```shell
# CHANGE ENVIRONMENTS
vim _etc_supervisor_conf.d_wechatbot.conf
sudo cp /home/ubuntu/wechatbot/_etc_supervisor_conf.d_wechatbot.conf /etc/supervisor/conf.d/wechatbot.conf
sudo supervisorctl
supervisor> reload
```