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.

Migrate

Migrate

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

Start my 1-month free trial

Migrate

- [Instructor] So now that we've edited our settings, so that we can connect to our new database, we have to be able to apply some migrations to that database. Now this is where Beanstock gets a little bit tricky because we don't have the power to just directly log in and run a command, like Python, Migrate, or Python Create Superuser. But we can tell Amazon to do those things for us, on our behalf. So lets go head and move back over, into our guide here that we have for AWS. Move all the way down, almost to the bottom here, where it's going to talk about creating a database migration file. Go ahead and just copy what we have here inside of this text break. This is essentially saying these are some changes that we want to make. Let's go ahead and move back into our terminal. And we're going to type out, nano .ebextensions that folder that we created, slash, and we're making a new file, db-migrate.config Okay? So this is our file that we're making, we're saying, hey we want you to run…

Contents