Question about the location of the git repository when deploying Django project on Elastic Beanstalk

  amazon-elastic-beanstalk, django, git, python

i’m new in both python and elastic beanstalk. Here’s my file structure:

/.git # <- here's my git repo
/my-first-django
  |-- django-project
      |-- app
      |-- django-project
      |   |-- __init__.py
      |   |-- settings.py
      |   |-- urls.py
      |   `-- wsgi.py
      `-- manage.py
/venv

When I read this doc, I can see they create git repository at the same level as django-project. Should I move the repository? Or am I fine with my current structure when deploying with awsebcli?

Thank you for your help!

Source: Python Questions

LEAVE A COMMENT