BEST SITE FOR WEB DEVELOPERS
Django. Lessons for beginners

Ua Es De

Deploy Django Project - Create zip File


Zip Your Project

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.


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


Comments