Web app deployment easy with anvil
1. What is anvil platform ๐
Anvil is a platform for building full-stack web apps entirely in Python. It makes it easy to build and deploy full-stack machine learning apps. It is easy-to-use and open-source. We will use the framework for this build.
Deployment is not a easy task without a great tool right ๐ค, I face this deployment problem in my machine learning project. The rough idea behind anvil is mention below
Also we can run onsite network by using private onsite anvil installation in same way.
The anvil server basically give the output to the executable machine learning model in jupyter notebook and predict this output with high accuracy according to the model and send the information to the anvil server. Finally we can get the result and display on anvil UI.
2. Why anvil ๐๐ปโโ๏ธ๐๐ปโโ๏ธ
Drag-and-drop designer. Know More
Instant deployment. Know more
Postgres-backed database. Know more
Built-in integrations. Know more
Git version control. Know more
Web development made simple.
3. How deployment works here ๐
- Set up a Jupyter Notebook
- Connect it to an Anvil app
- Make a UI
Step 1: login into anvil and click create app option
Click on the setting button on upper left corner and click in uplink option
Enable the uplink option and copy the uplink key for leter use
Finally install anvil in your local system
pip install anvil-uplink
Step 2: Setup the uplink to jupyter notebook
Use the uplink key here to connect the UI
Step 3: Finally design UI
Setup the server uplink with the UI and click on run button on the top of the page.
Finally publish your app and share the public url
4. Advantages of using anvil ๐งญ
Uplink: Code outside Anvil( Server Uplink & clint uplink)
5. Get Involve ๐ฉ
6. Resources
๐ฉ https://anvil.works/
๐ฉ https://anvil.works/docs/overview
๐ฉ https://anvil.works/learn/tutorials/feedback-form
๐ฉ https://www.youtube.com/c/Anvil-works
That's all for this blog, I hope you will learn something new. And feel free to share your thoughts and feedback, Thanks for reading.
Feel free to reach out me ๐
Twitter ๐ฑ
LinkedIn ๐ฑ
Github ๐ฑ
Subscribe to my newsletter
Read articles from ADITYA DAS directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
ADITYA DAS
ADITYA DAS
Hi, i am a post graduate (MCA) student and a open source contributor.