Amazon Web Services的魔豆,混帐aws.push似乎推动,但不会改变任何东西混帐、魔豆、东西、Web

2023-09-11 11:57:44 作者:我亦好歌亦好酒

我已经看到了一些类似的问题,但没有实际的解决方案。下面的http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html,我创建了一个示例应用程序没有问题。不过,我修改了一些文件,包括Gemfile中,跑捆绑安装,运行 git的补充。 &功放;&安培; git的承诺-m提交的Gemfile变

I've seen a number of similar issues, but with no actual solution. Following http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html, I created a sample app without issue. However, I modified a few files, including the gemfile, ran bundle install, ran git add . && git commit -m "commit gemfile change"

然后,我跑的git aws.push,收到以下内容:

Then, I ran git aws.push, received the following:

> c:\Users\mmoore\Documents\rubyapps\visitdaysaws>git aws.push Counting
> objects: 8, done. Delta compression using up to 8 threads. Compressing
> objects: 100% (5/5), done. Writing objects: 100% (5/5), 653 bytes,
> done. Total 5 (delta 3), reused 0 (delta 0) remote: To
> https://[secureurl]
>    091700..00005f  39eed5f98abacccccccccsaadeeeffa044354b740 -> master


c:\Users\mmatches\Documents\rubyapps\appaws>"c:\Ruby193\AWS-ElasticBeanstalk
-CLI-2.3.1\eb\windows\eb" status --verbose
Retrieving status of environment "appaws-env".
URL     : appaws-env-dxf4aghrer.elasticbeanstalk.com
Status  : Ready
Health  : Green
Environment Name:       appaws-env
Environment ID:         e-123abz4rpw
Solution Stack:         64bit Amazon Linux running Ruby 1.9.3
Version Label:          git-39eed5f98abacccccccccsaadeeeffa044354b740-1363313513
78
Date Created:           2013-03-15 13:48:56
Date Updated:           2013-03-15 16:34:00
Description:            None

RDS Database: AWSEBRDSDatabase | aa1adfga3tfa2a.cadfef60egmm.us-east-1.rds.amaz
onaws.com:3306
Database Engine:        mysql 5.5.27
Allocated Storage:      5
Instance Class:         db.t1.micro
Multi AZ:               False
Master Username:        ebroot
Creation Time:          2013-03-15 13:54:20
DB Instance Status:     available

尽管这样,我还是收到了通用的欢迎消息:

Despite this, I still receive the generic Welcome message:

我检查了我的混帐回购协议的大小和它比默认的应用程序变大,但只有6.5 MIB。我也试着粘贴在核心文件,没有任何变化。我接受任何想法都没有。

I've checked the size of my git repo and it's larger than the default app, but only 6.5 MiB. I've also tried pasting in core files, no change. I'm open to any ideas at all.

更新

冉建议删除的文件,仍然受到了广大页,但导航到index.html的时候(这在理论上是不存在的),你可以看到应用程序负载或试图通过一个错误加载。

Ran the suggested remove file, still received the general page, but when navigating to index.html (which theoretically is not there), you can see the application load or attempt to load via an error.

推荐答案

在示例应用程序,欢迎消息是在公共/ index.html的

In the example app, the welcome message is within public/index.html.

这意味着,只要你不删除静态文件,您的主页将继续显示欢迎信息。

That means, as long as you don't remove that static file, your homepage will keep displaying the welcome message.

比其他任何更改 git的RM公共/ index.html的不会使消息消失。

Any changes other than git rm public/index.html will not make the message disappear.