From the course: Learning Static Site Building with Jekyll

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Preview the site

Preview the site

From the course: Learning Static Site Building with Jekyll

Start my 1-month free trial

Preview the site

- [Instructor] Let's take a look at what the site looks like so far. Since we haven't added any actual content yet, we'll just see the default Jekyll theme and some boilerplate text. To preview the site, we'll run this command in the terminal. We'll say bundle exec jekyll serve. This starts up the Jekyll preview server and tells us that it's available on port 4000. Now we can switch into a web browser and type localhost:4000 to see the page. What you should see is the basic layout and structure of the site. Jekyll built all the site files and is hosting them for you in memory. This isn't accessible to anyone else on the internet. This is just on your local machine. If you make changes to the site files while this preview server is running, you can refresh the browser to see the changes immediately. As an example, if we switch into Visual Studio Code and edit the about.md page and just add something here, say Hello world! Before I save that, I'll show you what the about page looks like…

Contents