# Web chat without Azure channel registration ## 環境需求 - nodejs - npm ## 步驟 1. 安裝offline-directline(https://github.com/ryanvolum/offline-directline) `$ sudo npm install offline-directline` `$ sudo npm install offline-directline -g` 2. 開啟offline-directline `$ directline -d 3000 -b "http://127.0.0.1:3979/api/messages"` -b後面為bot的url -d後面接著你想使用的port 3. 把bot中設定的microsoft app id跟microsoft app password移除如下圖  4. 建立一個html檔,內容如下 其中domain要填的是server的網址+第二步設定的port+/directline 5. 最後把上一步製作的html檔放到/var/www/html下即可
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up