opengeodata.de

Best of Bash 3 (Hexo edition)

2017-05-23

How to setup and use hexo (the engine (formerly) running this) coming from Wordpress using rsync as deployment method:

npm install -g hexo-cli
hexo init cool-blog
cd cool-blog
npm install hexo-deployer-rsync --save
npm install hexo-migrator-wordpress --save
hexo migrate wordpress ~/cool-old-blog.xml // generates new files in ./source
hexo new "New cool post"
hexo generate --deploy

Additional:

npm install hexo-autolinker --save
npm install hexo-generator-seo-friendly-sitemap --save

Plus, one can tinker around in the _config.yml as pleases (this is also where the rsync deployer is configured).