Install Hexo
sudo npm install hexo -g
Clone and build.
git clone https://github.com/47Billion/blog.git
cd blog
npm install
hexo new "Title Of The Post"
This will create these -
▶ tree source/_posts
source/_posts
|-- Title-Of-The-Post // Dir for assets
|-- Title-Of-The-Post.md // Content
- Copy the image to 'Title-Of-The-Post' folder. Let's say the name of the image is 'python.png'
- Wherever you need to insert this image, add this
{% asset_img python.png 'Image-Alt-Text' %}
hexo server
Blog - [http://localhost:4000][6034aa1d] [6034aa1d]: http://localhost:4000 "http://localhost:4000" Admin - [http://localhost:4000/admin ][779be60d] [779be60d]: http://localhost:4000/admin "http://localhost:4000/admin"
Generate the static files,
hexo generate
Now, deploy -
hexo deploy
You might need to provide you github credentials. Also see - https://yeejlan.github.io/remark/host-blog-on-github-using-hexo.html#1
[http://47billion.com/blog][525f93a8] [525f93a8]: http://47billion.com/blog "http://47billion.com/blog"