Skip to content

ottlinger/homepage-aikiblog-jbake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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