Running commands

less than 1 minute read

:information_source: Have a challenge with any of this? Let us know and we’ll help!

If you use either the development container or the GitHub Codespaces option, we’ve added some commands that will hopefully make the development process easier for you.

Below is a list of the commands, how to run them locally and within the dev container, and relevant notes.

Goal Within Dev Container On Local Machine Notes
Local Development localdev bundle install && bundle exec jekyll serve --future Publishes future posts, so you can see them. Won’t happen in normal publishing.
Serve serve bundle exec jekyll serve --future Without gemfile installations. Note: You may see an error similar to initialize': Failed to open TCP connection to codeload.github.com:443 (getaddrinfo: Try again) (SocketError); if that happens, try the command once or twice more until it succeeds.
Spelling spellcheck The cSpell commands  
Linting lint The markdownlint-cli commands  
Build build bundle exec jekyll build  

Updated:

Comments