I’m looking at the Go and Python runtimes. I’m trying to figure out how I can make it work in my local development environment? Any ideas on how to set it up?
1 Like
Hi @donvito, you can run the Go and Python functions by keeping them in the api/
folder at the root of your project.
The examples/python/nextjs-flask at main · vercel/examples · GitHub project can be a good starting point to see how to use Python and Next.js in the same repository.
3 Likes
I was able to figure this out using this command
vercel dev
but omg, it’s so slow when run locally! any ideas how to optimise it?
2 Likes
Hi @donvito, glad to know you got it working!
vercel dev
relies on your internet connection and your location from the Vercel servers where the code runs.
2 Likes
yeah could be my database connection too. let me investigate further. thanks!
1 Like