ddb
ddb

Reputation: 1406

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 ?

Upvotes: 3

Views: 213

Answers (1)

ddb
ddb

Reputation: 1406

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

Upvotes: 2

Related Questions