How to install a site from netlify sourcecode

I searched on net for a documentation but in vein. Can I install it on firebase or heroku

You can deploy to both - you’ll just need to run your build prior to deployment.

Hi, thanks for the reply. But I am talking about netlify cms not about deploying Jekyll to netlify

How to build it. I am noob here. Tell me the build commands pls