Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for running the app locally in production mode #161

Open
thenbe opened this issue Jun 18, 2024 · 0 comments
Open

Add instructions for running the app locally in production mode #161

thenbe opened this issue Jun 18, 2024 · 0 comments
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@thenbe
Copy link

thenbe commented Jun 18, 2024

The docs make it clear how to run this app locally in "watch" mode.

It would be helpful if there were also instructions on how to run this app locally, but in a more optimized mode (commonly referred to as "production" or "preview" mode). Watch mode is great for when you're actively hacking on the code. But when you're serving the app over a network it creates unnecessary overhead.

I tried to npm run build in both the frontend/backend I kept facing issues after running the built files where the MAPS_API_KEY and GOOGLE_APPLICATION_CREDENTIALS were not being recognized (the credentials themselves are valid as they work fine when running in watch mode). Should I have used the docker(-compose) files instead?

My use case is that I want to build the app, run it locally, then serve it with a reverse proxy over an internal network.

@thenbe thenbe added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant