Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elastic Beanstack - Rails - git deploy and deploy hooks

I want to setup Elastic Beanstalk for my existing rails application.

I was successful in doing the sample foo app.

These are the questions I have

  1. I need the deployment to happen from my git repository and not from my local path where I am deploying. How do I do that for the sample foo app.

  2. I need to have a before_symlink deploy hook. How can I do this ?

like image 854
ddb Avatar asked Dec 17 '25 01:12

ddb


1 Answers

I have addressed these issues.

  1. git aws.push takes all the commited things to git and then deploys it. Local changes are not impacted.

  2. Created a config file under .ebextensions

More here - http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/customize-containers.html

like image 187
ddb Avatar answered Dec 19 '25 22:12

ddb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!