PricingBlog

How do you currently handle dev/staging/prod environments?

  • yannis4310-1271027789616644167

    Dr.Dude

    1 year ago

    Sorry if i missed a doc on that - AI help couldnt help me, too.

    I have some keys that differ on staging and prod environment.
    I assume I could create some variables for that, have the prod values on main and always change them to the staging variables on other branches but this doesnt feel to well...Especially when handling multiple components as a global variable is not really possible (right?)

    Any best practices on this?
  • tomthebigtree-1271036894339403820

    Tom Ireland

    1 year ago

    I think the Team toddle guys handle stuff via feature flags in prod but don't quote me on that (re if it's in prod). I guess it depends on the desire for staging and prod but testing can be isolated in prod for components using branches.