Skip to content

Set up local environment to be like production #290

Open
@AlexITC

Description

@AlexITC

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions