-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Steps:
1.install nvm:
curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash
2.install node
nvm install 6
nvm alias default 6
3.install git and clone repo
sudo apt-get install git
git clone https://github.com/wechaty/wechaty.git
4.install google chrome for debian
sudo apt-get update
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
sudo apt-get install -f
5.wechaty operation:
cd wechaty
npm install
cd script
bash xvfb.sh
export DISPLAY=':99.0'
6.run wechaty:
go back wechaty directory
cd example
npm run ts-node example/ding-dong-bot.ts
then run wechaty successfuly:
lizhiyao, MalavitaC and ChaosTongChaosTong