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. …
Author
Released
3/15/2019- 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
Duration
Views
Related Courses
-
Python: Design Patterns
with Jungwoo Ryoo1h 59m Intermediate -
Code Clinic: Python
with Barron Stone1h 51m Intermediate
-
Introduction
-
What you should know1m 44s
-
1. Digital Ocean
-
Digital Ocean account2m 1s
-
Creating a droplet4m 11s
-
Securing your server4m 50s
-
Postgres setup7m 46s
-
Configuring settings files3m 56s
-
Testing deployment5m 3s
-
Gunicorn testing6m 46s
-
NGINX setup5m 24s
-
Connecting your URL4m 3s
-
-
2. AWS
-
AWS account4m 5s
-
Testing your site3m 33s
-
Migrate4m 51s
-
S3 storage setup6m 35s
-
Static and media files9m 48s
-
Custom URL4m 45s
-
-
3. Heroku
-
Heroku account4m 12s
-
Deploying on Heroku5m 55s
-
Database on Heroku5m 25s
-
Static and media files6m 22s
-
Custom URL4m 21s
-
-
4. Azure
-
Database setup3m 43s
-
Configuring settings files2m 56s
-
Testing deployment4m 3s
-
Gunicorn testing4m 59s
-
NGINX setup6m 36s
-
Connecting your URL2m 27s
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Deploying on Heroku