Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from artificialsolutions/develop
Browse files Browse the repository at this point in the history
Update v1.0.1
  • Loading branch information
JosueGalher authored Oct 28, 2020
2 parents baec7db + 7db2ed8 commit f4211dd
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 43 deletions.
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APP_ID=<your app id here>
TOKEN=<your App Secret token here>
TENEO_ENGINE_URL=<your teneo engine url here>
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# v.1.0.1
## 28/10/2020
1. [](#improved)
* Updated dependencies.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Your bot needs to be published and you need to know the engine URL.
1. Login to the WebChat Dashboard by clicking the green login button on this page:
[https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login](https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login)
2. A QR code will appear. In the Wechat app, go to the Discover tab and choose 'Scan'. Scan the QR code with the Wechat app, and a sandbox configuration dashboard will be displayed.
3. Choose a value for `Token` and copy or remember it, you will need it later.
3. Choose yor own value to use in the `Token` field and copy or remember it, you will need it later.
4. Next copy the `appID` that is shown in the first row of the first table at the top of the page.

### Back to Connector Setup
1. Create a file called `.env` in the root folder of the project. Give it the following content:
```
APP_ID=<your app id here>
TOKEN=<your token here>
TOKEN=<your Token here>
TENEO_ENGINE_URL=<your teneo engine url here>
```
Replace the placeholders with the values you copied earlier.
Expand Down
56 changes: 17 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechat-teneo-connector",
"version": "1.0.0",
"version": "1.0.1",
"description": "A basic example using Teneo and WeChat",
"main": "server.js",
"engines": {
Expand All @@ -23,7 +23,7 @@
"author": "Josue Galindo",
"license": "Apache-2.0",
"dependencies": {
"@artificialsolutions/tie-api-client": "^1.3.2",
"@artificialsolutions/tie-api-client": "^1.3.7",
"express": "^4.17.1",
"http": "0.0.0",
"wechat": "^2.1.0"
Expand Down

0 comments on commit f4211dd

Please sign in to comment.