Building Data-Driven Web Apps with Pyramid and SQLAlchemy Transcripts
Chapter: Your first Pyramid site
Lecture: Concept: Creating the starter project PyCharm

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's review creating Pyramid web apps with PyCharm. So remember, we just go new project, and we pick Pyramid
0:09 and then we pick a new virtual environment. We set the location, which basically names our website. And make sure you expand out the more settings
0:16 and choose Starter and Chameleon. So Pyramid, virtual environment, Starter and Chameleon. Basically, it solves a whole bunch of those things
0:25 we did at once. And then the final thing to do is to run the setup.py task in development mode. Now, if you don't get that little dialogue that says
0:35 hey you need to run it this way you can go to tools, run setup.py task and just type develop. But the newest version of PyCharm typically
0:42 finds that and you just click that little bar that comes up across the top. Then you're ready to run your app. How do you run it?
0:48 Well, you click that little play button and it runs, and then you go interact with it. Easiest way to do that is just to click the hyperlink
0:54 at the bottom and boom, your site's up and running. So this is really a nice way to create new projects.
1:00 Honestly, I don't use it very often these days. When I was new to Pyramid, I would use PyCharm to create those projects and it helped a lot.
1:08 The more I got good at working with Pyramid directly I find myself going to the command line more and sort of doing stuff manually.
1:17 But either way is totally fine this is certainly a good way to get started because it helps you through a lot of the steps
1:23 and it makes it real, real simple.


Talk Python's Mastodon Michael Kennedy's Mastodon