Deploy Django - django.config
We have chosen AWS as our hosting provider, and Elastic Beanstalk as a service to deploy the Django project, and it has some specific requirements.
It requires that you create a folder on the root level of your project called
Create django.config File
.ebextensions folder, create a file called
Open the file and insert these settings:
option_settings: aws:elasticbeanstalk:container:python: WSGIPath: my_tennis_club.wsgi:application
Note: These steps are specific for AWS and Elastic beanstalk, but every provider has some provider-specific settings.
The next step is to wrap all the dependencies into one .zip file, which you will learn in the next chapter.