Skip to content
This repository was archived by the owner on May 27, 2020. It is now read-only.

Commit d54051f

Browse files
committed
Fix sactive-web response incorrect
1 parent 4f06d90 commit d54051f

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

docs/getting_started.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Getting Started
22

3-
## create a bot
3+
## Setup development
4+
```sh
5+
# Clone source code
6+
git clone git@github.com:shipengqi/sactive-bot.git
7+
cd ./sactive-bot
8+
9+
# create a bot
10+
node ./bin/sbot.js create
11+
12+
# start a bot
13+
node ./bin/sbot.js run
14+
```
15+
16+
## create a bot for production
417
```bash
518
sbot create
619
```
@@ -14,7 +27,7 @@ Options:
1427
start up bot after created
1528
```
1629

17-
## running a bot
30+
## start a bot for production
1831
```bash
1932
sbot run
2033
#or

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"qrextract": "^2.0.0",
6060
"request": "^2.87.0",
6161
"sactive-di": "^1.2.0",
62-
"sactive-web": "^2.2.12",
62+
"sactive-web": "^2.2.13",
6363
"sbot-conversation": "^1.5.0",
6464
"shelljs": "^0.8.2",
6565
"uniqid": "^5.0.3",

0 commit comments

Comments
 (0)