Hi, I am trying to run my fastpages blog locally. To this end I am following the instructions outlined in the Development Guide. I have Docker installed. According to the Development Guide, I should be able to see all available commands by running make in the root of my repository. However I get the following error:
PS C:\Users\kfdah\Desktop\projects\personal-blog> make
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ make
+ ~~~~
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I donât have experience with makefiles (only learned about them by trying to follow the Development Guide.) Is there some step I am skipping? Any help would be appreciated.
In case other people run into this, there were some additional steps I had to take (probably trivial to people who have experience in using Linux and Docker):
In the linux terminal I tried the command make server, however I was getting a âPermission Deniedâ error. Use sudo make server instead.
The development guide mentions here that a Jekyll server is set up which can be used to preview the blog. The url mentioned is https://127.0.0.1:4000/. However I was getting some error mentioning https. After changing https into http it worked.
I tried to run the live preview, this time without the WSL integration option for Ubuntu enabled in Docker Desktop. VSCode starts complaining about Docker however: