/MonkeyAndres.github.io

📝 Personal site + non-technical blog.

Primary LanguageSCSSThe UnlicenseUnlicense

MonkeyAndres Personal Site

Site generated from piharpi/jekyll-klise

Setup environment

docker run -itd -p 4000:4000 \
  --name="jekyll-dev-env" \
  --volume="$PWD:/srv/jekyll:Z" \
  --volume="$PWD/vendor/bundle:/usr/local/bundle:Z" \
  jekyll/jekyll:3.8 tail -f /dev/null

docker exec -it jekyll-dev-env /bin/bash

Usage

Inside the container's terminal run:

# Install dependencies
bundle install

# Serve the site
jekyll serve

# Build the site
jekyll build

Writing posts and drafts

This project uses jekyll-compose that is a ruby gem that helps you manage the posts, drafts and pages very easily.

# Create draft
jekyll draft "My draft"

# Publish draft
jekyll publish _drafts/my-draft

# Create post
jekyll post "My post"