Skip to content

Commit

Permalink
Move to ringcentral
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdong262 committed May 27, 2019
1 parent 1eb9120 commit 68b3730
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [ringcentral-chatbot-python](https://github.com/zxdong262/ringcentral-chatbot-python) <!-- omit in toc -->
# [ringcentral-chatbot-python](https://github.com/ringcentral/ringcentral-chatbot-python) <!-- omit in toc -->

[![Build Status](https://travis-ci.org/zxdong262/ringcentral-chatbot-python.svg?branch=test)](https://travis-ci.org/zxdong262/ringcentral-chatbot-python)
[![Build Status](https://travis-ci.org/ringcentral/ringcentral-chatbot-python.svg?branch=test)](https://travis-ci.org/ringcentral/ringcentral-chatbot-python)

Welcome to the RingCentral Chatbot Framework for Python. This framework dramatically simplifies the process of building a bot to work with Glip, RingCentral's group chat system. It is intended to do most of the heavy lifting for developers, allowing them to focus primarily on the logic and user experience of their bot.

Expand Down Expand Up @@ -101,10 +101,10 @@ Now you know how it works, you may try to init a bot project in one line script:
# make sure you have python3.6+ and pip3 installed

# use wget
wget -qO- https://raw.githubusercontent.com/zxdong262/ringcentral-chatbot-factory-py/master/bin/init.sh | bash
wget -qO- https://raw.githubusercontent.com/ringcentral/ringcentral-chatbot-factory-py/master/bin/init.sh | bash

# or with curl
curl -o- https://raw.githubusercontent.com/zxdong262/ringcentral-chatbot-factory-py/master/bin/init.sh | bash
curl -o- https://raw.githubusercontent.com/ringcentral/ringcentral-chatbot-factory-py/master/bin/init.sh | bash
```

## Example bot apps
Expand All @@ -127,7 +127,7 @@ The following bots were created using this framework, and should serves as guide

### Use CLI tool to create a bot app

The [ringcentral-chatbot-factory-py](https://github.com/zxdong262/ringcentral-chatbot-factory-py) was created to help speed up the process of creating additional Glip bots. To use it, install it, then run the `rcf` command as shown below:
The [ringcentral-chatbot-factory-py](https://github.com/ringcentral/ringcentral-chatbot-factory-py) was created to help speed up the process of creating additional Glip bots. To use it, install it, then run the `rcf` command as shown below:

```bash
pip3 install ringcentral_chatbot_factory
Expand All @@ -136,7 +136,7 @@ rcf my-ringcentral-chat-bot

Then just answer the prompts. Then follow the directions in `my-ringcentral-chat-bot/README.md` to get up and running.

![ ](https://github.com/zxdong262/ringcentral-chatbot-factory-py/raw/master/screenshots/cli.png)
![ ](https://github.com/ringcentral/ringcentral-chatbot-factory-py/raw/master/screenshots/cli.png)

- [Deploy to AWS Lambda](docs/deploy-to-aws-lambda.md)
- [Use or write extensions](docs/extensions.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Read [source code](../ringcentral_bot_framework/core/__init__.py) for more detai
"""db action
* make sure it it stateless,
* in every action, you should check database is ready or not, if not, init it first
* check https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* check https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* @param {String} tableName, user or bot, or other table you defined
* @param {String} action, add, remove, update, get
* @param {Object} data
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "ringcentral-chatbot-python",
"version": "0.5.1",
"version": "0.5.2",
"description": "RingCentral Chatbot Framework for Python",
"repository": {
"type": "git",
"url": "git+https://github.com/zxdong262/ringcentral-chatbot-python.git"
"url": "git+https://github.com/ringcentral/ringcentral-chatbot-python.git"
},
"keywords": [
"ringcentral",
Expand All @@ -15,9 +15,9 @@
"author": "Drake Zhao <drake.zhao@ringcentral.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/zxdong262/ringcentral-chatbot-python/issues"
"url": "https://github.com/ringcentral/ringcentral-chatbot-python/issues"
},
"homepage": "https://github.com/zxdong262/ringcentral-chatbot-python#readme",
"homepage": "https://github.com/ringcentral/ringcentral-chatbot-python#readme",
"devDependencies": {
"js-yaml": "3.12.2",
"ngrok": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion ringcentral_bot_framework/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def dbAction(tableName, action, data = None):
"""db action
* make sure it it stateless,
* in every action, you should check database is ready or not, if not, init it first
* check https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* check https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* @param {String} tableName, user or bot, or other table you defined
* @param {String} action, add, remove, update, get
* @param {Object} data
Expand Down
2 changes: 1 addition & 1 deletion ringcentral_bot_framework/core/config_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def dbWrapper(tableName, action, data = None):
* set DB_TYPE=custom in .env to activate
* make sure it it stateless,
* in every action, you should check database is ready or not, if not, init it first
* check https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* check https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* @param {String} tableName, user or bot, or other table you defined
* @param {String} action, add, remove, update, get
* @param {Object} data
Expand Down
2 changes: 1 addition & 1 deletion sample-bots/kitchen-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def dbWrapper(tableName, action, data = None):
* set DB_TYPE=custom in .env to activate
* make sure it it stateless,
* in every action, you should check database is ready or not, if not, init it first
* check https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* check https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/dynamodb.py or https://github.com/ringcentral/ringcentral-chatbot-python/blob/master/ringcentral_bot_framework/core/filedb.py as example
* @param {String} tableName, user or bot, or other table you defined
* @param {String} action, add, remove, update, get
* @param {Object} data
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
description="RingCentral Chatbot Framework for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/zxdong262/ringcentral-chatbot-python",
url="https://github.com/ringcentral/ringcentral-chatbot-python",
packages=setuptools.find_packages(),
keywords=['ringcentral', 'bot', 'framework'],
install_requires=[i.strip() for i in open('requirements.txt').readlines()],
Expand Down

0 comments on commit 68b3730

Please sign in to comment.