Replies: 1 comment 2 replies
-
@LeoSeyers I have not been able to figure out how to run the app on Netlify. I'm sure it's possible since they claim to be able to host Next.js apps. But last time I tried I couldn't get it to work. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I'm trying to figure out if it's possible to run into a static build with Netlify since there is no much documentation out there.
I'm not really familiar with NextJS but I've edit package.json to have a static export (
"build-app": "next build && next export"
) that can be then deploy with netlify-cli (out
folder). In addition to that I've added the .env variables into the Netlify project dashboard.Somehow it doesn't work – I do have something (see https://demo.studio-scale.com/netlify-umami-fail.jpg) but I'm not sure that's the way to do it and it cannot connect to the database. Also I'm wondering if it's even possible to secure the credential in such static frontend stack?
Anyway Umami looks very good I may try Vercel instead at some point but any hints so far would be much appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions