【问题标题】:Elastic Beanstack - Rails - git deploy and deploy hooksElastic Beanstalk - Rails - git 部署和部署挂钩
【发布时间】:2012-11-13 01:34:29
【问题描述】:

我想为我现有的 rails 应用程序设置 Elastic Beanstalk。

我成功地完成了示例 foo 应用程序。

这些是我的问题

  1. 我需要从我的 git 存储库而不是从我正在部署的本地路径进行部署。如何为示例 foo 应用程序执行此操作。

  2. 我需要一个 before_symlink 部署挂钩。我该怎么做?

【问题讨论】:

    标签: ruby-on-rails git deployment hook amazon-elastic-beanstalk


    【解决方案1】:

    我已经解决了这些问题。

    1. git aws.push 将所有提交的内容带到 git,然后部署它。本地更改不受影响。

    2. 在 .ebextensions 下创建了一个配置文件

    更多信息在这里 - http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/customize-containers.html

    【讨论】:

      猜你喜欢
      • 2016-09-24
      • 2017-05-30
      • 2016-03-04
      • 2019-11-22
      • 2015-09-18
      • 2015-09-20
      • 2019-02-13
      • 1970-01-01
      • 2013-08-31
      相关资源
      最近更新 更多