[英]AngularJs Environment variables in Heroku Pipeline
I'm traying to configure an AngularJs/NodeJs app in a Heroku Pipeline. 我正在准备在Heroku管道中配置AngularJs / NodeJs应用程序。 What I understand of a every DevOps Pipeline, the goal is avoid recompiling the app in every stage.
我了解每条DevOps管道,目标是避免在每个阶段重新编译应用程序。 For the Node API the Heroku suggestion is pretty clear: config vars.
对于Node API,Heroku的建议很明确:config vars。 But for the AngularJs client -obvisly, config vars are for server side scripts- I haven't found any suggestion or good practice.
但是对于AngularJs客户端-显然,config vars是用于服务器端脚本的-我还没有发现任何建议或好的做法。 Also, I've searched into the deep internet and what I found is that there is not a common issue.
另外,我已经搜索了深层互联网,发现没有普遍的问题。 I've found this well explained article and now I'm working on it, but what is hard to understand for me is: is not a common issue to avoid recompilation of Angular clients in stage-to production pipelines?
我已经找到这篇解释得很清楚的文章,现在我正在研究它,但是对我来说很难理解的是:避免在阶段到生产管道中重新编译Angular客户不是一个普遍的问题吗? Is there not a official proposal of AngularJs dev team to this situation?
AngularJs开发团队没有针对这种情况的正式建议吗?
My thougts are: 我的思想是:
1- I'm misunderstanding something....or.. 1-我误会了.....
2- Promote to production Angular apps without recompiling is not a common issue. 2-升级到生产Angular应用程序而无需重新编译不是常见问题。
Please, I'm new on Angular and I need some advice. 拜托,我是Angular的新手,我需要一些建议。
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.