In this lesson we will go the steps of deploying a Taipy app in Render. Taipy is an open-source Python library that supports both front-end and back-end development, streamlining the process from creating prototypes to deploying production-ready applications. Render is a service that allows you to build, deploy, and scale your apps.
Prerequisite
- Must be familiar with Python and Github
- Have a Github account. Create one here
- Have a Render account. Create one here
- Have a Taipy app
Procedure
- Create a new Github repository.
-
Create a requirements.txt file for your Taipy app.
pip freeze > requirements.txt
Push your Taipy app to your Github repository.
Give your web service a name, select Python 3 for Language and select the Github branch that you want to deploy.
Enter the root directory (if any) and the Start Command (the command you use to run the app locally).
Enter any Environment Variables and then click Deploy Web Service
The URL for your app is generated. The status of your app is shown. In this case, it is Live.
If your app fails, you can fix your app, push it to Github and Render will automatically re-deploy it. If it doesn't, you can click Manual Deploy. This concludes our lesson.
Top comments (0)