简体   繁体   English

通过git在AWS Elasticbeanstalk上获取并部署PHP应用程序

[英]fetch and deploy PHP application on AWS elasticbeanstalk through git

I have a forum application uploaded to AWS elasticbeanstalk by zip package. 我有一个通过zip软件包上传到AWS Elasticbeanstalk的论坛应用程序。 but now I need to change some code, but now I don't know how should I get access to the code? 但是现在我需要更改一些代码,但是现在我不知道该如何访问代码?

Is it possible for me to fetch this code back to local , make change and redeploy with "git push"? 我可以将这段代码取回本地,进行更改并使用“ git push”重新部署吗? just like how Heroku deploy works? 就像Heroku的部署方式一样?

I try to google it but with no luck. 我尝试用谷歌搜索,但是没有运气。

There are really two parts to your questions. 您的问题实际上有两部分。

  1. To get to the code, you have to go to S3. 要获取代码,您必须转到S3。 You should see a elastic beanstalk bucket with your zip file in it. 您应该会看到一个带有zip文件的弹性beantalk桶。

  2. Here is a pretty good guide to get you started with elastic beanstalk command line (including git aws.push). 是一个很好的指南,可帮助您开始使用Elastic beantalk命令行(包括git aws.push)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM