In this video, work to make static files work and get Nginx working.
- [Instructor] We're getting very close … to having our project ready to shine on port eighty, … which is the main web port, … you'll see that in just a second here. … So, since we're so close, … we got to change from a debug environment … to a production environment. … So to do that, we're going to do a nano … portfolio/settings, … and let's just scroll down to our DEBUG option here … and set that equal to False. … Great. … Now, with that change, we'll do Control + X, Yes. … Let's save that. … All right, now that we've done that, … we have to get Nginx set up. … And what Nginx is, is it's also a web server … that we'll pass information either to Gunicorn, … say, hey, I need you to spit back some sort of view … or something like that, … or it'll spit back some of our static or media files. … So, let's go ahead and go back to the guide here. … They have the great documentation … to be able to get this up and running. … Let's scroll down a bit here. … Okay, and we're going to copy this line of code, …
- 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.