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

Set up local environment to be like production #290

Open
AlexITC opened this issue Nov 12, 2022 · 0 comments
Open

Set up local environment to be like production #290

AlexITC opened this issue Nov 12, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@AlexITC
Copy link
Contributor

AlexITC commented Nov 12, 2022

The goal is that our local environment is as similar to production as possible, we have been previously hit by some issues that can't be reproduced locally, for example:

  1. Server-sent events were not being propagated to the frontend because nginx was trying to buffer the whole response.
  2. We experienced a weird issue once, where a GET /path url wasn't working in production due to some issue with nginx but it worked locally

Then, let's focus on:

  1. Use nginx as the entry point for backend/frontend (I already have a draft for this).
  2. Use SSL, https://github.com/FiloSottile/mkcert seems ideal.

I'd expect that:

  1. We get to a super simple setup so that everyone uses it.
  2. Update docs to use this approach.
@AlexITC AlexITC added enhancement New feature or request good first issue Good for newcomers labels Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant