Using and Mastering Cookiecutter Transcripts
Chapter: Adding features to Cookiecutter
Lecture: Getting modifiable source
0:01 Now, our first step is going to be getting writable source code,
0:04 we could clone this repository but we're not allowed to check into it
0:07 we're not core contributors, so the right flow here is to go fork it,
0:11 so we're going to fork this repository, and then we're going to create a feature branch
0:16 do our work on the feature branch on our repository,
0:19 check that back in, and do a pull request back here, ok.
0:23 So I've already forked this, and so I'm going to come over to my fork here
0:27 all right, so I've been fiddling around with it a little bit,
0:31 you can see that it's this one I've submitted some changes,
0:34 this is an unrelated thing, but what we want to do is, we want to check this out.
0:38 So this one belongs to me, so I have right access to it cool.
0:42 So, let's go over, I think I'll just check this out here,
0:47 I don't want to put this into the source repository
0:49 because you'll be able to link back to it on my system
0:52 and you have the whole cookiecutter thing as a sub directory
0:56 which I don't think it's a great idea
0:59 so I'm going to just clone that here
1:01 so we'll say git clone, and you give it the path,
1:04 of course you have git installed, but I'm assuming
1:07 that you guys can do that it's kind of out of the scope of this course
1:10 okay so here we can open a Cookiecutter project
1:12 so now we have the source code on our machine
1:15 next thing is to install it, so that we can actually run the code
1:19 run the Cookiecutter module or package.