This is my professional engineering portfolio deployed on GitHub Pages natively using Jekyll and Tailwind CSS.
This site uses standard Jekyll Layouts. To add a new independent page (e.g. an architecture deep-dive):
- Create a
.mdfile anywhere in the repository. - Add the following Front Matter to the top of the file:
--- layout: default title: Your Custom Page Title ---
- Write your Markdown content below it. GitHub Pages natively compiles and wraps your content using the
_layouts/default.htmltemplate.
Because this site relies on Jekyll Layouts and Tailwind CSS minification, you cannot just double-click index.html to view the site correctly. You must run a local server.
- Node.js: Installed via NodeJS.org.
- Ruby: Installed via RubyInstaller for Windows (with DevKit).
Open your terminal in the project directory and run:
# Install Node dependencies for Tailwind CSS processing
npm install
# Install Ruby dependencies for compiling layouts
gem install bundler jekyllFor the best developer experience, you should open two terminal windows.
Terminal 1: Start the Tailwind CSS Watcher
This watches your HTML/JS files for Tailwind class changes and rebuilds your style.css instantly.
npm run watchTerminal 2: Start the Jekyll Local Server
This watches your .md, _layouts, and HTML files, compiles the site in memory, and hosts it.
jekyll serve --watchNow, simply open your browser to http://localhost:4000/.
Any changes you make, whether editing CSS classes or writing a new Markdown page, will hot-reload or become active upon a quick browser refresh!