To wrap your project into a .zip file, you cannot zip the entire project folder, but choose the files and folders manually.
The files to include in the .zip file are highlighted (blue) in the example below:
my_tennis_club
.ebextensions/
members/
my_tennis_club/
mystaticfiles/
productionfiles/
db.sqlite3
manage.py
requirements.txt
With your file explorer, navigate to the project folder, select these files and folders, right-click and choose to create a zip file.
Now you have a .zip file of your project which you can upload to Elastic beanstalk:
my_tennis_club
.ebextensions/
members/
my_tennis_club/
mystaticfiles/
productionfiles/
db.sqlite3
manage.py
my_tennis_clup.zip
requirements.txt
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!