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.
Configuring settings files
From the course: Deploying Django Apps: Make Your Site Go Live
Configuring settings files
- [Instructor] So once that's completed, the next step for us, is we need to make some changes to our settings inside of our project. So, let's go ahead and just use nano to add to our file here on the server. Nano is just a quick way to make some changes to files, and so we're going to say nano, and then type out the name of our portfolio project, We want to get into the portfolio folder, and then settings.py. So go ahead and hit Enter on that. Now the first thing we need to do, is we need to say that people should be able to access this project from our IP address, or a customized domain. So at the end of this chapter, I'm going to show you how to access this project that we have via your own custom URL. So if you have a custom URL, now would be the time to type it, but if you don't, that's totally fine here, but the first thing that we need to add into this allowed hosts, which is again, the different places that people can access this project. I'm going to do a single quote and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Digital Ocean account2m 1s
-
(Locked)
Creating a droplet4m 11s
-
(Locked)
Securing your server4m 50s
-
(Locked)
Postgres setup7m 46s
-
Transferring code to the server5m 40s
-
(Locked)
Configuring settings files3m 56s
-
(Locked)
Testing deployment5m 3s
-
Gunicorn testing6m 46s
-
(Locked)
NGINX setup5m 24s
-
(Locked)
Connecting your URL4m 3s
-
-
-
-
-