Building Data-Driven Web Apps with Pyramid and SQLAlchemy Transcripts
Chapter: Setup
Lecture: Get the source code
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Now, I've tried to structure this course so it's easy for you to follow along. It's great to have a bunch of building blocks.
0:08
Here's how you do routing. Here's how you do templates. Here's how you talk to the database. And then say well go forth
0:14
and you can put your building blocks together. Good luck. But it's way more fun to build them up and have something you've created over time.
0:22
So, I've tried to design this course in a way that you can do that and if you get off track you can sort of reset.
0:28
I talked previously in the other video about having a before and after code for each section in the GitHub repository. Let me show you that right now.
0:36
Here we are in the GitHub repository. If you go over here to the source section you'll see it doesn't sort it really great numerically
0:43
but for each chapter that we've written code we don't actually write code until Chapter 4 but for each one we have a separate section.
0:52
You'll see that say Chapter 5 is based on Chapter 4 code. Chapter 6 is based on Chapter 5 code. Things like that.
1:00
So if you want to follow along with the routing part you come over here and you can see we have this start section. This is the code that we typed in
1:07
that I typed in when we started Chapter 6. This is the result of all the work we did during Chapter 6.
1:13
So if you want to say start from where we were in Chapter 6 and then do the routing work yourself just make a copy of this folder and start going.
1:23
Of course, this will become the starter code for Chapter 7 and so on. We talked about in the course how to get one of these loaded up and running.
1:32
How do you create the virtual environments and register the packages and stuff like that that you need? So, we'll get to that in due course
1:39
but just know that we have these sort of before and after codes for each chapter and ideas that hopefully that helps you follow along
1:47
if you get lost or something along the way just grab the starter code from a particular section or you can go back and sort of diff the two directories
1:55
and see what changed.