Nate demonstrates how to use the Jekyll serve command to start a preview server and how to use it to see updates live as you make changes to your site files.
- [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 right now.…
Has some boilerplate text.…
- Advantages of static sites
- Installing Jekyll and Git
- Creating a new Jekyll site
- Installing themes
- Adding posts, pages, and static content
- Setting up for deployment with GitHub, Travis CI, Node, and npm
- Deploying to FTP, AWS, and Netlify
- Adding a custom, secure domain
Skill Level Beginner
1. How Static Sites Work
2. Set Up Jekyll
3. Build a Website
4. Prepare for Publishing
5. Deploy via FTP
6. Deploy to AWS
7. Deploy with Netifly
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.