Comments (8)
Solution
Finally, the app run in Ubuntu Server successfully.
apt-get update -q
sudo apt-get install chromium-browser xvfb libpango1.0-0 fonts-liberation libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7 indicator-application
apt-get install -f gconf-service gconf2-common libgconf-2-4 gconf-service-backend
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
nohup Xvfb :0 -ac -screen 0 1024x768x24 &
export DISPLAY=0:0
node app.js
from wechaty.
@zixia Would you have a look? I have tried to install the dependencies. The service is running great with my Macbook, now, I consider to migrate it into cloud. Thanks in advance.
Application repo, https://github.com/Samurais/philly-wechat/ .
from wechaty.
hi @Samurais ,
I have some suggestions to you:
- first, I had the same issue on aliyun hk server before: those servers can't make connection to some google servers. change your server from aliyun to digitalocean/linode might help. (I had put links in README, which can gain free credit for both of us if you follow that link)
- second, please have a look at #30 , if you did not put chrome into your PATH.
- third, do not use phantomjs now, because there has some bug which cause the wx app angular environment not right. use chrome/chromium instead.
- at last, your philly-wechat is great, I love ai bot. thanks for using wechaty. :)
please let me know if those suggestions could help you solve the problem, and feel free to post here if you still have problems with wechaty cloud installation.
good luck!
from wechaty.
Thanks, I would switch to digitalocean soon. philly is a logic server, but instead of using api.ai/wit.ai, I am going to use superscript currently. philly-wechat is the channel to integrate with wechat. I am also working on other integrations as well, such as gitter.
wechaty is great. 👍
Update here when solving the problem.
from wechaty.
I do not understand what philly do right now, but it seems philly is doing something overlap with Microsoft Bot Framework.
M$ Bot Framework has a powerful bot builder framework, it's a connector/router for messages between skype/wechat(official account)/facebook/slack/etc..., with a clean nodejs SDK: https://github.com/Microsoft/BotBuilder/tree/master/Node/examples
Also I'm a big LUIS.ai fan. :)
from wechaty.
I did some investigation with Botframework, but it does not mature in some ways.
On the other way, I would like to implement something lightweight to build the conversations channels but collect the data on our side because of our business reason.
from wechaty.
congratulations!
how could you fix this, did you switched the server out of aliyun/qqcloud?
and it would be great if you cloud add a Wechaty Badge to your README :)
from wechaty.
The server is in aliyun, behind the wall.
Of course, I can add the Badge, thanks a lot.
from wechaty.
Related Issues (20)
- room-join,事件触发太慢 HOT 1
- linux部署node18.x的图文教程
- scan回调事件如何设设置时间间隔 HOT 1
- wechaty怎么登录不进去了,之前还能用,现在二维码不显示,运行就报错 HOT 2
- 关于exec task timeout HOT 2
- docker部署的好友列表加载不出来, 在本地是没有任何问题的 使用了ready事件依然不行 HOT 2
- 企业微信支持发送语音给用户吗? HOT 1
- 请尽快更新过时文档 HOT 2
- 'can"t fetch endpoint from chatie server. You can try it later, or make sure that your pc can connect to heroku server HOT 5
- 想知道群聊中的id和memberIdList, 这些ID到底是什么,是谁生成的? HOT 2
- 请问发送群消息@人的位置可以变吗 HOT 3
- 请问发送群消息中memberAll可以一次性查出多个指定昵称的用户吗 HOT 2
- 请问发送群消息@多个人,并且@的人和数量都是不固定的,这样怎么实现 HOT 2
- 申请秘钥Token HOT 2
- @全体什么时间上线,有确切时间点吗? HOT 2
- 需要二狗机器人代码的找我vx:codermie HOT 2
- wechaty接入企微账号的发现服务防火墙需要开通哪些端口 HOT 1
- wechaty服务提示访问超时 HOT 2
- 扫码登录后,手机端退出桌面版登录,使用wechaty.isLoggedIn获取登录状态仍为在线状态 HOT 1
- 调用room.say()时,何如进行异常捕获,掉线时有打印异常信息,但无法捕获 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechaty.