Search code examples
jekyllvps

Install jekyll blog on VPS


I'm trying very hard to install Jekyll blog on my VPS because i want to host my website on my VPS not on github pages also I have followed the steps here https://jekyllrb.com/docs/deployment-methods/

but i didnt succeed is there any one can help me to step by step install jekyll blog on my hosting


Solution

  • By looking at the image you attached in your comment, you probably uploaded jekyll files and not the static files which exists in the folder _site.

    So what you have to do is, install jekyll using npm or RubyGems in your own machine, setup everything in your jekyll files, then use the command jekyll serve to build and check if everything is generated successfully by going to localhost:4000, if everything went well, then go to your jekyll directory and take the files inside _site and upload them to your webhost using FTP