From the course: Deploying Django Apps: Make Your Site Go Live

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Static and media files

Static and media files

From the course: Deploying Django Apps: Make Your Site Go Live

Start my 1-month free trial

Static and media files

- [Narrator] So you've probably noticed our website really isn't complete without those static and media files. Now, Heroku will not host your static or media files, you need to host them somewhere else. And a great place to do that is AWS, using their S3 storage. Now, we've just went ahead and walked through that. Now if you skip forward to Heroku, you're going to want to move back and get to that portion but if you've already watched it, this is going to be a great integration of how to connect all of this. Let's go ahead and move over into our terminal. The first thing that we need to do is get into our virtual environment so that we can add some new pip requirements to our projects. So we're going to say, source. We're going to move back to our virtual environment folder bin activate. Great, now that we're in that virtual environment, we're going to install some apps that are going to help us to save things inside of an Amazon S3 bucket. So we're going to do Django-storage…

Contents