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.

Testing deployment

Testing deployment

From the course: Deploying Django Apps: Make Your Site Go Live

Start my 1-month free trial

Testing deployment

- [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 so I'll just hit enter to keep…

Contents