flathub-infra/frontend

Setup a staging server

Closed this issue · 5 comments

It would be nice to host the current dev build online. This would also need the backend to be running somewhere.

Might also help with testing the tracking setup, as it might fail due to being run on localhost.

It seems like vercel/nextjs doesn't really support this, at least judging on the docs.

We also tested the tracking successfully on localhost

It seems like I missed https://nextjs.org/docs/basic-features/environment-variables#test-environment-variables as it's a bit weirdly structured in the docs.

What do we actually need here @barthalion to get this on 'production equivalent' flathub infra?

This is on my list for "soon", I need to do some Dockerfile changes. I hope to get it done this week.