Learn how to make sure that your deployment works.
- [Nick Walter] So now that we've properly configured … our settings we have a database running, … let's go ahead and migrate that database, … so we're still inside our virtual environment, … that means we can say python manage.py migrate … By running this it's going to do all of our migrations, … looks great … and if we're going to be able to login … to the admin side of things we've got to create a superuser. … So let's do python manage.py … createsuperuser … it's going to take us to the prompt nick I think is a good name … don't need an email address … I'll do my django1234 and django1234 for the passwords. … Great, now we have a superuser, … next thing that we need to do is collect static, … so I'm going to do python manage.py … collectstatic … It's going to say "Do you want to overwrite this?" … Yes, let's do that, now we have those all copied over. … Then with this in place we want to actually test to see … if we can get to our site, … this is the first time we're actually trying to say …
- 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.