production is not special - benclifford/text GitHub Wiki

should have the build system for test/dev environments be as close to production as possible -- so production is "just another deployment" that you happen to care a lot more about.

why is the production server any more special than my laptop? or the ad-hoc environment created for this commit's CI run?

as part of this: hardcoded hostnames are a no-no anywhere - hardcoded address for the API server assumes there is the API server, which is what? the production one? the one on my laptop? the one stood up just for this run?

eg in web pages use URL paths relative to the current page's hostname, rather than starting "https://... also helps with things like cookies which don't like to move between security domains...