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

- [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 Okay, let's see this thing live…

Contents