HEXO Blog Cheatsheet

My tech blog ERC.cloud

hexo commands

Purpose:

Create a Repository for everything I have been and will be learning

Requirements:

  • Simple, archivable and able to portable(ability to move to different platform in future)
  • Lightweight, and able to remain speedy and responsive
  • Manaage large amount of entries and attackments(code snippets, images)
  • Provide a place for me archive up info on my projects
  • Provide a good directory for github code
  • Owned by me, no company has ability to shut me down and jeopardize my info

Why I chose HEXO

HEXO meets all of the requirements above, I was testing WordPress as well and it is a far second in most of my requirements

Instructions and Go-Bys

how to run local HEXO

  • In Powershell - nav to hexo source location Users/User/eri-cloud-blog
  • Enter command: Hexo server
  • Location: C:\Users\prime\erc-cloud-blog\source_posts

How to create new page

  • In Powershell - hexo new <new filename>

How to publish

  • In Powershell - hexo generate --watch (This extracts the blog by comparing and only exporting pages with changes)
  • Then use FileZilla to FTP to HostGator

Still To DO:

  • How to deploy to HostGator, I need more configuration for this
    • command: hexo generate --deploy
  • Create workstation to be more blog ready
    • set up VScode with markdown ice(installed, need to learn)
    • PlantUML for workflow editor(installed, need to learn)
    • image importer(installed, need to learn)
  • [ ]