How to install Jekylls in Ubuntu

What is Jekyll

Jekyll is a static site generator designed to simplify the process of creating and maintaining websites. Developed in Ruby, it allows users to build websites with ease by transforming plain text into static HTML files. Jekyll uses templates and a liquid markup language to structure and customize content, making it a popular choice for blogs, portfolios, and documentation sites. One of its key advantages is its speed and efficiency, as it generates static pages that can be served quickly without the need for a database or server-side processing. Jekyll integrates seamlessly with version control systems like Git and is supported by GitHub Pages, simplifying the deployment process. Its simplicity, flexibility, and compatibility with various hosting platforms have made Jekyll a preferred tool for developers and content creators looking for a straightforward and efficient way to build static websites.

Installing Jekyll

				
					sudo apt update && apt upgrade -y
sudo apt -y install make build-essential ruby ruby-dev
nano .bashrc

#paste at last
# Ruby exports
export GEM_HOME=$HOME/gems
export PATH=$HOME/gems/bin:$PATH

source ~/.bashrc
apt install jekyll bundler

#Opening the Firewall:
sudo ufw status
ufw allow OpenSSH
sudo ufw enable
sudo ufw allow 4000
	
#Creating a New Development Site:
cd ~
jekyll new www

sudo apt install tree
	
#Starting Jekyll’s Web Server:
cd ~/www
jekyll serve --host=server_ip
				
			

Leave a Comment

Your email address will not be published. Required fields are marked *