Heroku allows you to do all deployment from the command line. Do your first push of code in this video.
doing all these custom things. … So, while this is out running and deploying our project, … all these great things, let's go ahead … and edit our settings a little bit, … 'cause there's a few things that we have to change. … So, in a new tab, while this is running, … we can go ahead and should be in the same directory. … If not, make sure you get there, … 'cause what we need to do is edit our settings file. … So, we're going to say nano portfolio slash settings. … So, the first thing that we want to change … is the debug, set it equal to false. … We're in a production environment, … so, let's go ahead and change that. … Say debug is equal to false, and then, allowed hosts. … Where can people access the site? … Well, we'd want to say wherever our Heroku sites … going to be listed and a custom domain, if we have one. … So, if we go back to our other tab here, … and we scroll up to the top, you can see, … here they showed us where we can access our project, … this infinite earth. … Yours is probably going to have a different name. …
- 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.