Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 986 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 986 Bytes

homepage-aikiblog-jbake

Dev setup

jBake install & local setup

Download >= jbake-2.7.0-rc.7-bin.zip due to problems on newer Apple hardware (regular brew installed version crashes upon start)

$ jbake -i # init only once
$ jbake -b -s # run in autobake/local dev mode

Different templates for jBake

Local setup

  • run.sh - start jbake in development mode (needs jbake on the PATH)
  • sync.sh - not in SCM; upload sync script

Template for upstream sync

#!/bin/bash
echo "Cleaning output directory ...."
rm -rf output/*
echo "Starting to bake ...."
jbake -b
echo "Synching to upstream host...."
scp -O -r output/* my-ISP-coordinates