Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django Noob Question #8

Open
smcateedhcu opened this issue Aug 13, 2015 · 2 comments
Open

Django Noob Question #8

smcateedhcu opened this issue Aug 13, 2015 · 2 comments

Comments

@smcateedhcu
Copy link

Hello, I am familiar with OpsWorks but am figuring out Python/Django.

I have the server built and starting with the cook books.

I have a Django App which a consultant has written for us. The file is a Zip. How do I tell the deploy to use this zip. I know for Java I would add an app for deploy.

Looking at your cookbooks I think the deploy has to be in the cookbook. Can you advise on this with an example?

Thanks.

@smcateedhcu
Copy link
Author

I've spent more time on this and have also started a support ticket with AWS.

What we are really stuck on is what an example Custom JSON for this cook book would look like if the DJango app is in a .zip file stored in S3. We have some security concerns about sticking the app in Git so we are pulling from S3.

Thanks and any help would be appreciated.

@alecpm
Copy link
Owner

alecpm commented Sep 16, 2015

These cookbooks are oriented exclusively toward using a version control repository for the application code. I don't have any experience with deploying into OpsWorks from zip files in S3 and would generally not recommend it (the recipes support loading additional resources from S3 zip files though). Perhaps using AWS CodeCommit (https://aws.amazon.com/codecommit/) would allay some of your security concerns? Having code in a VCS has a number of advantages beyond easier deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants