Adding a CMS to Your Flask Web App Transcripts
Chapter: Rich editors
Lecture: Concept: Installing SimpleMDE

Login or purchase this course to watch this video and the rest of the course contents.
0:00 If you've used no GS before to manage JavaScript dependencies, then this is no big deal.
0:07 But let me just run through the steps of installing simple MD to make sure that you all can follow along now to get started.
0:13 You need tohave in PM and note installed. We're not actually gonna run stuff with note, but having it there allows us to do in PM stuff,
0:20 which is pretty cool. So you want to solve that? Once you have it installed, we need to create one of these package not Jason
0:27 files to get no Jess in PM specifically to save the installed libraries in this location Basically, you tell in P.
0:34 M. This is the top level of this package you're managing. So install stuff into subdirectories year, not your user profile or something like that.
0:43 We say in Puma Net we don't really care about the setting. So we just hit enter all the way through and yeah, it looks great. It creates that package,
0:50 not Jason file. Finally, we say in PM, install the package dash, dash, save it downloads. You can see simple MD,
0:58 but it also goes and gets four other libraries, so it added five packages from 862 contributors and then autumn for security vulnerabilities and found
1:08 zero perfect. So we have a up to date simple nd then presumably is pretty safe. It's been somewhat checked,
1:15 at least so we've got that installed and you can check by just saying Tree trimming the directories only four level steep and so on.
1:21 And then you can see basically down here we have Simple MD, which has a debug, a dissed in the source code. We really only care about the dest part.
1:29 That's all we want to work with. But it's easier to just let no Js and NPM manage it. So I'm just gonna let it install the other junk and tag along,
1:37 and that's it. We have simple MD installed in our static folder and already start


Talk Python's Mastodon Michael Kennedy's Mastodon