Skip to content

yippymishy/flask-vercel

 
 

Repository files navigation

flask-vercel

This repo is to test the deploy to Vercel

  • Use the v1 for the very basic and simple version (Flask only)
  • Use the main branch for a more complete and production ready version

Features

  • OpenAPI 3 (API using connexion/swagger)

Test local

virtualenv ~/.ve/vercel
source ~/.ve/vercel/bin/activate
pip install -r requirements.txt
FLASK_APP=index.py flask run

# 🚀 go to http://localhost:5000

Deploy to vercel

Then, inside your repo folder, run vercel:

(vercel) ➜  flask-vercel$ vercel
Vercel CLI 23.0.1
? Set up and deploy “~/workspace/workon/flask-vercel”? [Y/n] y
? Which scope do you want to deploy to? your-vercel-account
? Link to existing project? [y/N] n
? What’s your project’s name? flask-vercel
? In which directory is your code located? ./
...

Done! You should access your very simple flask app running on Vercel

About

This repo is to test the deploy to Vercel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 93.6%
  • Mako 5.0%
  • Makefile 1.4%