/westermo.github.io

Ramblings of software engineers building networking hardware using Linux.

Primary LanguageRuby

Blogging @Westermo R&D

  1. Install prerequisites using bundle install/update, it pulls in everything you need using the Ruby Gemfile
  2. Create a blog post in kebab case: _posts/YYYY-MM-DD-my-neat-title.md. Copy the front matter from another post, we use tags: ...
  3. bundle exec jekyll serve
  4. Write some more
  5. git commit -sam "New post ..."
  6. git push

NOTE: Talk to the R&D Architect Group before publishing a blog post. Use the _drafts/ directory if you like, no branching.

When working with drafts you need some more arguments to jekyll:

bundle exec jekyll serve --watch --drafts

About Gemfile.lock

Since we are more than one person blogging using Jekyll, we're trying to keep the Gemfile.lock file out of version control, because our setups will likely differ. Hence, to start working, first run:

bundle update

which creates a the Gemfile.lock for you.