When you're done making changes, you need to build the site. In this video, learn how to use the Jekyll build command to compile the site files and get them ready to publish to the web.
- [Instructor] So far we've been using…the Jekyll surf command to preview the site.…When you're ready to deploy the site to the web,…you'll need to run a different command…to tell Jekyll to generate the final site files.…That command is bundle-exec jekyll build instead of surf.…All of the site files are saved…in an output folder called underscore site,…or if you changed you configuration like I did,…in a folder called public.…This output folder contains folders and files…for each one of your posts and pages.…
Anything else you've added to your project,…like files, style sheets, images,…are also copied here.…The contents of this output folder is the entire website.…All we need to do is upload these files to a web server.…Before we go deploy the site,…let's make sure that everything is checked into Git.…I'm going to do git status.…I modified 404.html earlier…and I haven't checked that in yet,…so that's showing up.…Note that if you see the site or public folder…showing up in the Git status here,…it's because you haven't added that folder…
- 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.