Django Tutorial · Deploy Django

Update Project

Learn all about Update Project in this comprehensive tutorial.

5 min read advanced
  • Any changes you do with the application locally, on your own computer, is not visible on the deployed version.
  • To wrap your project into a .
  • Log into your Amazon Web Services account, and find your project under the "Elastic Beanstalk" application:
  • Click the "Choose file" button to upload the .
  • Click the "Deploy" button:
  • That's it, your project is updated with all the new changes.

Deploy Changes

Any changes you do with the application locally, on your own computer, is not visible on the deployed version.

So if you make a change, and you want it to be visible on the deployed version, you have to upload a new .zip file.

Create .zip file

To wrap your project into a .zip file, follow the steps described in the Create .zip File chapter:

Start by selecting the relevant files and folders of your project, if you have the same project as we have in our tutorial, you should select the highlighted files in the example below:

python

Right-click and choose to create a .zip file.

Now you have a .zip file, containing the changes, and you can upload it to Elastic beanstalk:

python

Upload to Elastic Beanstalk

Log into your Amazon Web Services account, and find your project under the "Elastic Beanstalk" application:

Click the "Upload and deploy" button.

Choose .zip File

Click the "Choose file" button to upload the .zip file you just created:

Deploy

Click the "Deploy" button:

Uploaded!

That's it, your project is updated with all the new changes.

Note: Note: Follow these steps every time you want to update your project.

Module quiz

2 questions
1

Which of the following is true about Update Project?

2

What is the most common pitfall when working with Update Project?

Answer all questions to submit.