Building Data-Driven Web Apps with Flask and SQLAlchemy Transcripts
Chapter: Bootstrap and frontend CSS frameworks
Lecture: Running in a real web server
Login or purchase this course to watch this video and the rest of the course contents.
0:00 Now it great to just double click the index or bare.html file and have it load up in our browser. But sometimes it makes more sense
0:09 the way our HTML's put together and what-not to actually run in a browser. Anytime you might have something like forward slash, whatever.
0:23 And what we had been doing is just double clicking that file but in PyCharm or Webstorm you can come over here and right click and just say run
0:31 you don't have to set up project or anything like that. You just run it and notice now it's running on a real server.
0:37 So you can do things like come down here and inspect element and look at the network. So for example, if we go to all
0:44 you'll see, you know, the request for say, the static files. Which you don't actually see if you load it off the file system
0:50 and the dev tools a lot of times. So if you need to run your HTML file in a browser super easy to do with PyCharm or WebCharm.
0:57 Just right click and say run it, and it'll run right there.