In Summary Here you go
|
|
That’s it. Jump to http://localhost:4000
to see your blog running. tweak around _config.yml to spice things up
Pre-Requisites for above to work
- Have Node v4.4+ & npm v3.x+ installed
- Have
git
installed on cli
Check documentation for more info.
Looks Okay ?
Don’t like the look of things ?
- Change it up. Choose from themes
Begin Writing in MarkDown
Now jump to the project and source/_posts/
folder would have all your posts in MD (markdown format). Preview using any MarkDown editor or use Atom Editor’s awesome preview plugins documentation for MD
Deployment
I prefer github pages (that’s the simplest) However, heroku and openshift portal deployments also possible. For more details jump here
npm install hexo-deployer-git --save
- Edit your
_config.yml
. Add this
|
|
You’ll need to create a repo having gh-pages
branch on github before deploying
That’s all that is needed. Happy blogging :-)