Building Data-Driven Web Apps with Flask and SQLAlchemy Transcripts
Chapter: Routing and URLs
Lecture: Demo: Routing, loading the project

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's dig into our project for this next chapter.
0:02 So over here we have a new folder, Chapter 6 Routing.
0:05 And again we're going to have the code we're starting from
0:09 and the final code for this chapter.
0:11 Right now they're the same.
0:12 They're both the final code from the Jinja template one
0:15 but that's not how it's going to stay.
0:17 So let's go over here and set this up.
0:20 We won't do this every time
0:21 But I'll do this a time or two, do it this time
0:22 so you get used to it.
0:24 Come over here and you can see where our requirements are
0:28 and stuff like that.
0:30 Now let's go and create a virtual environment.
0:31 I have a little shortcut
0:33 you can see the little command at the top.
0:35 So that's activated and lets load this up in PyCharm.
0:40 All right, we have our project all setup.
0:42 Let's just check again that our template is set right.
0:49 Python template languages, Jinja2.
0:50 Okay, good, that is all set up.
0:53 Now, it looks like our app is about ready to run.
0:55 Let's go over here and just try it real quick.
0:58 Of course we do have to install our requirements.
1:00 Good that PyCharm is keeping us honest.
1:02 Looks like it was installed.
1:04 So we should be able to just go over here
1:05 right click and say run.
1:09 Super, it looks like our app is back in business.
1:12 There's not a whole lot going on
1:13 that's interesting there yet
1:14 but it is getting there.
1:16 Hide away our fake data for now.
1:17 We'll get back to that. So that's it.
1:20 Our app is up and running. Time to add some features.