Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
pizza-bot/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (23 sloc)
848 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Pizza Bot | |
Pizza Bot is a WhatsApp chat bot created using the Twilio Programmable SMS API | |
# What is Needed | |
- A Google Developers API Key | |
- ngrok | |
- A Twilio account for | |
### Installation | |
- Create a Twilio account. | |
- Install ngrok, authenticate and run the following command on a terminal: | |
```sh | |
$ ngrok http 5000 | |
``` | |
- Go to the following page after you have created your Twilio account - https://www.twilio.com/console/sms/whatsapp/sandbox | |
- Copy the generated URL from the ngrok terminal into the 'WHEN A MESSAGE COMES IN' box. | |
- Click Save at the bottom | |
- Follow the prompts on the page to add your WhatsApp number to the sandbox. | |
- Clone this repo and run the following commands: | |
```sh | |
$ pip install -r requirements.txt | |
$ echo GOOGLE_API_KEY=your_google_api_key > .env | |
$ python app.py | |
``` | |
- The application is ready! |