Manage.py not found when deploying using chef (application_python cookbook)

11 views
Skip to first unread message

Paul

unread,
Mar 27, 2015, 3:57:07 PM3/27/15
to django...@googlegroups.com
I'm trying to deploy a django application on ec2 using chef. I followed blogs that got me to the point where the application(_python) cookbook has setup a clone of the repo to shared-copy and the chef client invokes the first command to syncdb. Then however a problem occurs that is easy to explain: manage.py cannot be found and the reason is because manage.py is not in the tip of the repo, it is in fact two levels lower.

I'm wondering what the best approach is to solve this;
- Can i change the cwd that the application cookbook uses?
- Symlink manage.py?
- Wrap manage somehow?

Thanks for any tips,
Paul Bormans

Reply all
Reply to author
Forward
0 new messages