Greenstand / treetracker-web-map-core-demo

5 stars 7 forks source link

Simple deployment of the web app #70

Open dadiorchen opened 1 month ago

dadiorchen commented 1 month ago

The web app of this demo is under folder: /apps/web ( you can run it by npm run dev in the folder). now we need to deploy the app to our cloud, because this is a demo, we don't need to do a perfect devops deployment workflow, the goal is: build this next.js as a static website, and copy the file to our s3 bucket and can visit the website by the default domain of the bucket.

About build next.js, here is the document: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

SuspenseFallback commented 1 month ago

Can't we do a test deployment via Vercel? (or is that not part of our workflow)

dadiorchen commented 3 weeks ago

@SuspenseFallback Vercel is nice, and good approach for this project, but because Greenstand is a big platform, with all kinds of language and tech stack on the cloud, so we consider a more generic and comprehensive solution for the whole cloud, we don't' want to introduce a new cloud infra to Greenstand at this moment, because it requires extra maintenance.

dadiorchen commented 3 weeks ago

@SuspenseFallback you are a javascript stack developer?