【问题标题】:uWSGI - Production touch-reload git commituWSGI - 生产触摸重新加载 git commit
【发布时间】:2014-04-25 14:34:53
【问题描述】:

我有一个基于 Django/nginx/uWSGI 构建的应用程序。

我希望我的生产服务器在主分支被修改时重新加载 uWSGI。

我想知道 touch-reload 一些 git 文件来实现这一点是否是一个好习惯。

[uwsgi]
#...
touch-reload = .git/index

由于我还使用Fabric 来自动化我的部署,所以最好改为触摸 uwsig 模块...

你怎么看?

【问题讨论】:

    标签: django git service production-environment uwsgi


    【解决方案1】:
    touch-reload = .git/index
    

    效果很好

    【讨论】:

      猜你喜欢
      • 2019-01-14
      • 1970-01-01
      • 1970-01-01
      • 2012-10-13
      • 2019-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多