

Then add the commands back to the config file (commit, push to git) and deploy again. That deployment is just deploying the code. So to get around this issue, for the first deployment, remove the commands from the config file (commit, push to git) and then deploy. I believe this is because the code needs to be deployed on its own before any commands are included. For some reason the first deployment fails on the second command. In the nfig file are a list of commands to execute after every deployment. Something important to know about when deploying for the first time to a new environment Deploy the now updated project to the AWS production enviroment.Merge the test branch into the master branch.Push the changes to the test branch with git push origin test.Change the elasticbeanstalk config.yml file back to use the production environment (Important).


Apache wsgi django aws postgresql how to#
This guide shows how to deploy Django on AWS using an RDS Postgres DB, Elastic Beanstalk and S3.
