django setup advice for AWS Elastic Beanstalk

86 views
Skip to first unread message

Phil

unread,
Feb 3, 2013, 11:48:20 AM2/3/13
to django...@googlegroups.com
Hi,

I am following the steps here to setup django on aws...
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_django.html

I got as far as step 6 but when I "git aws.push" I never see the django "it worked" page, only the green beanstalk page. I'm sure where I've gone wrong is where Ive placed particular files/ folders so was just looking for some advice/ clarification on where everything should be.

So I created my virtualenv("~/web/mysiteenv/"), activate it, pip installs etc. From inside that folder I create my djangoproject("mysite"). So the files/ folders I'm unsure about are the following:

  1. I run "git init" from "~/web/mysiteenv/mysite"
  2. Where should beanstalk folder("AWS-ElasticBeanstalk-CLI-2.2") be? I had it at "~/web/mysiteenv"
  3. I run "eb start" from "~/web/mysiteenv/mysite"
  4. Where should I run "mkdir .ebextensions", I ran it inside "~/web/mysiteenv/mysite" I put the config file in the ".ebextensions" folder.

If anyone can see where I've gone wrong I would be very grateful to you. I've deleted the project so I can start over.









Reply all
Reply to author
Forward
0 new messages