HTMX + Django: Modern Python Web Apps, Hold the JavaScript Transcripts
Chapter: Surveying the non-JS-enabled Django app
Lecture: Setting up your environment

Login or purchase this course to watch this video and the rest of the course contents.
0:00 You've got the basic gist of the project now. Let's go over a few details and then I'll give you a whirlwind tour of the actual code in PyCharm.
0:09 First off, as this course builds on top of existing code, you're going to need that code. It's available on GitHub at the following URL.
0:18 If you're comfortable with GitHub and want to track your changes, you can fork the course.
0:23 If you're comfortable with Git and are happy with a read-only copy, you can clone the repo instead.
0:28 If both of those things sound frightening to you or like too much work, you can also grab a zipped copy of the code from the site.
0:36 All three of these options are available through the big green ""Code"" pull-down button on the GitHub page.
0:44 The repo has multiple directories in it, one for each of the lessons that touch the code.
0:49 You're currently in lesson 3, and so you'll find the base project in the lesson3 directory. The contents of each directory contain
0:58 the outcome of the lesson. If you wish to code along, you want to start with the previous lesson's output. For example, when you start lesson four,
1:08 use the code from the lesson three directory. The lesson four directory contains what you should end up with by the end of lesson four.
1:17 As with all things Python, you should be using a virtual environment. Depending on your IDE, this might be done for you,
1:25 Or if you're old school like me, you can use VM to get one going.
1:30 The base project has two dependencies, Django of course, and the more iter tools module used to group things together.
1:39 If you're using PyCharm, it will automatically detect the contents of requirements.txt and prompt you for setting those up.
1:47 Speaking of, let's go get this running in PyCharm.


Talk Python's Mastodon Michael Kennedy's Mastodon