In this video, test to see if you can run your site on port 8000 and 80.
- So we currently are serving up our project … via the run server command built into Django. … Now this is not ideal, there's more … efficient servers out there. … And one of those is Gunicorn. … Now we already installed the code for via Pip … but we need to test it out and see if we can work with it. … So go ahead and hit control C, so that … you stop you server from running. … And then, let's go ahead and specify that … we want to run our site via Gunicorn. … Now in order to do this, … I'm just going to type Gunicorn. … Should be able to auto complete that. … Gunicorn. … There we go. … Dash, Dash, bind. … And then space, we're going to do the same … zero point zero point zero point, zero. … colon, eight thousand. … And then we're going to' specify … portfolio … dot W S G I. … So go ahead and hit enter on this. … We should be able to go back to our browser … and re-load the same page … and everything still should be working. … Looks like it is that's good. … And then you'll see when we come back to …
- 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.