24
loading...
This website collects cookies to deliver better user experience
Below all the links are compared based on their hobby or free packs
Vercel
is the winner for sure for me. It has everything for free that I want and I will recommend vercel to you guys as well. npm -v
npm i -g vercel
. Refer here
requirements.txt
file with all the python packages mentioned you've used.vercel.json
file and add the below content(here I am using app.py as my main file)
{
"version": 2,
"builds": [
{
"src": "*.py",
"use": "@liudonghua123/now-flask"
}
],
"routes": [
{
"src": "(.*)",
"dest": "app.py"
}
]
}
make sure your project looks something like this
open terminal at the root of the project.
Type the below commands
And there you have it. visit vercel.com and open your project. Click the visit button and your website is live.
to later update just use vercel --prod
to push your code to production level.