<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We ran into a bit of snafu when Gene built and deployed the production RPMs for FxA.<div><br></div><div>The front end JS app for the fxa-content-server is compressed and combined into a single "bundle", but the bundle currently needs one bit of configuration, the URL of the auth server. Since the RPMs we build are environment agnostic, this configuration needs to be done after deployment and app start. </div><div><br></div><div>Here are some options:</div><div><br></div><div>1) Build a config.js on app deploy that contains the configuration we need. There is even some grunt magic to help manage this:</div><div><br></div><div><a href="http://newtriks.com/2013/11/29/environment-specific-configuration-in-angularjs-using-grunt/">http://newtriks.com/2013/11/29/environment-specific-configuration-in-angularjs-using-grunt/</a></div><div><br></div><div>2) Offer an endpoint on the fxa-content-server that serves JSON of the environment config. </div><div><br></div><div>3) Hack index.html at deploy time.</div><div><br></div><div>Zach is doing 2) to get the deploy working, but the longer term strategy is up for discussion. On a related note, we need to get our caching strategy ironed out.</div><div><br></div><div>We're hoping to get the deploy working tomorrow and test it against Nightly.</div><div><br></div><div>-chris</div><div><br></div></body></html>