It’s easier to find this on the internet if I post it here. Really should be part of my forthcoming wiki.

cd /Users/rtanglao/Dropbox/ROLANDTANGLAO-DOT-COM-SURGE
# edit posts in _posts
jekyll build # --incremental after you add an entry
surge _site --domain

hugo server --theme=redlounge --buildDrafts --watch &
hugo --theme=redlounge  --buildDrafts
surge public --domain

# export to subdirectory using dynamic HTML to SURGE from Omni Outliner e.g. notes-roland-haskell_programming.oo
mv SURGE/notes-roland-haskell_programming.html/ SURGE/notes-roland-haskell_programming
surge SURGE  --domain

Leave a comment on github