This ecommerce example is modified to show how to use 8x8's SMS and Video APIs.
- Python3
- Several packages in requirements.txt (taken care of as part of "How to Run")
- An 8x8 Subaccount/API Key
- Modify Variables.py with your 8x8 credentials such as: voice/sms subaccounts, api keys, sms sender id and voice phone number.
- Create Virtual Environment - python3 -m venv myenv
- Use Virtual Environment - source myenv/bin/activate
- Install Requirements - pip install -r requirements.txt
- Run the server - pipenv run python main.py
- Enter localhost:80 in the browser (Note: Edit app.py to use a different port if it is already taken)
You can also opt to build the provided dockerfile, note that it uses the files in the directory so any changes you make to the application should be used in the docker container.