jbjonesjr / rpi-weather

working on turning a raspberry pi into an always on, internet connected weather station
Apache License 2.0
2 stars 0 forks source link

Migrate app to Vercel? #11

Open jbjonesjr opened 1 year ago

jbjonesjr commented 1 year ago

https://vercel.com/new

Next.js

https://nextjs.org/docs https://www.imaginarycloud.com/blog/next-js-vs-react/

Migrating

https://vercel.com/docs/getting-started-with-vercel/projects-deployments https://medium.com/a-layman/migrate-react-angular-and-static-files-from-heroku-to-vercel-and-nelify-with-zero-configurations-9fcdee557ed3

env vars:

DATABASE_URL: postgres://{user}:{pass}@ec2-54-87-179-4.compute-1.amazonaws.com:5432/ddpspqitlib728
HEROKU_POSTGRESQL_BLACK_URL: postgres://{user}:{pass}@ec2-54-87-179-4.compute-1.amazonaws.com:5432/ddpspqitlib728
PROCFILE: src/server/Procfile

branch: https://github.com/jbjonesjr/rpi-weather/tree/vercel