Hexo - How to Create Static Site using Hexo

avatar

In this post, we take a look at How to Create Static Site using Hexo. There are plenty of static site generators out there. And when it comes to editing the content, choosing the right framework matters a lot. At the end if you wish to create the static sites with html pages.

So what you exactly you want to achieve using the static site that is designed using the Hexo. It's a good site generator and you can use it for the small sites. Below are some of the steps that you can follow for the installation of the Hexo and then make the website.



You can check out the official website of the Hexo. You can read how to use themes and also what sort of the themes you would prefer in that case.

So let's take a look at what you need to setup the Hexo.

npm install hexo-cli -g

This should install the hexo CLI into your system. And then you can also check out its version.

hexo version

This should give you an idea if the Hexo is installed and what sort of the version do you have on the same. You may also find the version pretty good for the current version of the node.

Now it's time to create the site.

hexo init site

now you switch to the site directory

cd site

now we are going to serve the hexo website.

nexo install

finally start the server and then make sure to get the nexo server started there.

hexo server

As you can see this should be your deployed site screen. This should be one of the successful setup of your site.

hex.png

That's it. You have now deployed the hexo site. And also managed to get the site which can be done for the small sites. You can also attach to specific website and get the dynamic data too. But I'd say better to change themes. And that would be one way for you to beautify the site.

In next tutorial, I'll be covering the Pyspark and the Spark tutorial along with the hadoop tutorials. I have already covered a lot of small things and I feel that it would be good to work around with the tutorials which would be fun there. So some really good tutorials you can anticipate in upcoming times.

You can like, share and subscribe tutorials from my channel. I think as it stands right now. I would benefit from the support that hive users can offer me. So please do subscribe to the channels and if possible share the video too. That would be a huge favour on me. Do let me know in comments if you do.

If you happen to like this content, do give me feedback over there and that would help me improve my efforts in near future.



0
0
0.000
2 comments
avatar

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 

0
0
0.000
avatar

Your post has been upvoted by @Edu-venezuela, it will be moved to other healing projects for more support. keep up the good work!

image.png

0
0
0.000