-
Install Ruby:
Jekyll is written in Ruby, so you need a recent version of Ruby installed on your system. You can download Ruby from ruby-lang.org or use a version manager like rbenv or RVM. -
Install Bundler and Jekyll:
Once Ruby is installed, open your terminal (or command prompt) and run:gem install bundler jekyll
-
Create a New Jekyll Site:
Navigate to the directory where you want your site and run:jekyll new portfolio-site cd portfolio-siteThis command creates a new directory named
portfolios-sitewith a default structure (including a_layoutsfolder,_postsfolder, etc.). -
Customize Your Layout:
- Open the
_layouts/default.htmlfile to edit your overall template (including the<head>, navbar, footer, etc.). - Use Liquid templating syntax (e.g.,
{{ content }}) to designate where page-specific content will go.
- Open the
-
Create Pages:
Create individual pages (for example,index.md,about.md, etc.) in the root directory. At the top of each file, add a front matter block:--- layout: default title: Home ---
Then add your page content below.
-
Build and Serve Your Site:
From the project directory, run:bundle exec jekyll serveThis will build your site and serve it locally (typically at
http://localhost:4000). -
Deployment:
Once you’re happy with your site, you can deploy the static files (found in the_sitedirectory after a build) to any static hosting provider (e.g., GitHub Pages, Netlify, Vercel).
- Installation: Ruby → Bundler & Jekyll via
gem install - Site Creation:
jekyll new portfolio-site - Customization: Edit
_layouts/default.htmland add pages with front matter. - Local Development:
bundle exec jekyll serve - Deployment: Upload the static files from the
_sitefolder.
This setup produces full, SEO-friendly static HTML pages while allowing you to manage your layout with a templating language. If you prefer another static site generator (like Hugo, Eleventy, etc.), the setup process is similar—install the tool, create a new project, and customize templates.
setx PATH "C:\Ruby33-x64\bin;C:\Python312\Scripts\;C:\Python312\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\bento\AppData\Local\Programs\Python\Python310;C:\Users\bento\AppData\Local\Programs\Python\Python310\Scripts;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\ISC BIND 9\bin;C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe;C:\ProgramData\chocolatey\bin;C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\bento\AppData\Local\Programs\Quarto\bin;C:\Users\bento\miniconda3;C:\Users\bento\miniconda3\Library\mingw-w64\bin;C:\Users\bento\miniconda3\Library\usr\bin;C:\Users\bento\miniconda3\Library\bin;C:\Users\bento\miniconda3\Scripts;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\PuTTY\;C:\Users\bento\AppData\Local\Programs\Quarto;C:\Users\bento\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\bento\.dotnet\tools;C:\Users\bento\AppData\Roaming\TinyTeX\bin\windows;C:\Program Files\Graphviz\bin\;C:\Users\bento\AppData\Local\Microsoft\WindowsApps;"