Deploying PythonAnywhere With the Messages API
To deploy an application available for end-users to view and use, the process involves moving it from a development server to production where users can access it via the internet or intranet. This typically requires software and package installation, testing, software release, and deployment processes. The tutorial focuses on deploying Vonage Message API to production on PythonAnywhere, which is a cloud-based development and hosting environment for python applications. To start, create a PythonAnywhere account, install a Python application, and have basic knowledge of Python. Then, follow the steps to set up the Vonage Developer Dashboard, create a sandbox, and generate an API key and secret. Next, write a simple Flask application that sends WhatsApp messages using the Vonage API library. Create a requirements.txt file with necessary packages and install them in a virtual environment. Finally, deploy the application on PythonAnywhere by creating a web application, configuring virtual environments, and setting up WSGI configuration files. The tutorial concludes by providing guidelines for deploying Vonage applications on other platforms and upgrading to paid accounts with no limitations.
Company
Vonage
Date published
May 21, 2021
Author(s)
Anita Achu
Word count
1908
Language
English
Hacker News points
None found.