From the course: Learning GitHub Pages

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Build a project

Build a project

- [Instructor] Although we have Eleventy installed, it's not really a web project, so let's go ahead and modify our folder so that it's a real NPM project. I'm going to open up my terminal, I'm using hyper, but you can use either the terminal on the Mac, or Git Bash on a PC. And I'm going to make sure that I'm on the desktop and that I'm also in that folder. Now, from here I can run an NPM init - y command, and this will create a package.json with some defaults for me. Now, let's go ahead and open this up in visual studio code. You can see the package.json file, it has some basic information in it. I'm going to switch some of these things out. Mentally, I need to make sure that I create a couple of scripts, so instead of the test script, I'm going to issue a start script and it's going to run Eleventy with the serve option. This will give me a live reload server that I can use while I am developing my website. Now, I…

Contents