Now that S3 is set up, configure your project to work with it.
let's make the modifications to our project, … so that we can write things to that bucket, … and also read things back from that bucket. … So, in order to do this let's go ahead and first … add a few different things that will help us … be able to access this bucket, … and so we're going to get back into our virtual environment, … we'll say source../eb-virt/bin/activate. … we need to install a few things via pip … so we're going to say pip, install, … and we want django-storages, … again these are different chunks of code … that our going to help us read and write from S3, … and also boto3. … Okay so go ahead and hit enter on that, … get all those installed. … Now that we've added some new things via pip, … we need to make sure they're in our requirements.txt file, … so we're going to go ahead and do a pip freeze, … and move this into the requirements.txt file. … So we'll go ahead and hit enter on that. … Now that that's been fixed the next thing that we need to do … is move over into our settings. …
- Transferring code to a server
- Managing media files
- Creating a custom URL
- Configuring file settings
- Securing a server
- Database setup
- PostgreSQL setup
- Gunicorn testing
- NGINX setup
- Storage setup
Skill Level Intermediate
What you should know1m 44s
1. Digital Ocean
Next steps1m 7s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.