Learn how to get your code from your local computer to the server.
- [Instructor] Let's go ahead … and move into our portfolio project. … We're going to do a CD into our portfolio project. … Once there if you go ahead and do an ls … you can see the different things that we have. … We have some images, … we have the jobs app things like that … but we need to remove this images folder. … So I'm going to say rm -r … and we'll just type in images … that's going to get rid of the images folder … so we'll start clean there. … Then what we need to do … now that we have a database up and running, … we have the proper connection, … let's go ahead and migrate that database. … So we're just going to type out here, python manage.py … and then migrate. … Go ahead and hit enter on that. … Once all the migrations have gone through, … we need to create a super user. … So that then we can log in and make changes to our database. … So we're going to say python manage.py, createsuperuser. … Now with this user feel free to give whatever name. … I'm just going to use Nick as it says here …
- 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.