Static Sites with Sphinx and Markdown Transcripts
Chapter: Setup
Lecture: Creating a new project
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Let's start from, well, the beginning an empty directory into which we will slowly build a website first by making a new Python project.
0:12
I'll make a directory. I'll name it after the fictional company's name. CD into it. We're going to use MacOS.
0:20
Linux. WSL command shell syntax in this tutorial. Since Python recommends using a virtual environment for isolation, we'll go ahead and make one.
0:30
I'll use the Python3 syntax and I like to store my virtual environments in the
0:36
project. I will then use the command to activate this terminal so that its path
0:45
is first, which then lets me run the pip that is in this virtual environment What we always have to do is upgrade our pip.
0:54
As soon as we make a new one, take advantage of any security updates and stuff like that.
1:01
And with that in place, our new blank Python project is now ready for a Sphinx installation.