Skip to content

About

Personal website forked from bchiang7

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

My personal website

My personal website forked from bchiang7

Overview

This repository contains a Jekyll-based personal website with a Gulp pipeline for compiling styles/scripts, optimizing images, and running local development with BrowserSync.

Tech Stack

  • Jekyll (Ruby static site generator)
  • Gulp 4 (task runner)
  • Sass (via gulp-sass + Dart Sass)
  • BrowserSync (local dev server/reload)
  • ESLint (JavaScript linting through the shared @nuscout config)

Dependencies / Prerequisites

You need the following installed locally:

  • Node.js and npm
  • Ruby and Jekyll (the Gulp tasks shell out to jekyll)

Node version notes:

  • .nvmrc pins Node 20 (run nvm use to match). Any current LTS works.
  • The Sass toolchain uses Dart Sass (sass + gulp-sass), which avoids the old node-sass install issues on newer Node versions.

Getting Started

  1. Install dependencies:
npm install      # Node tooling (Gulp, Sass, ESLint)
bundle install   # Ruby tooling (Jekyll + jekyll-sitemap), pinned by Gemfile.lock
  1. Start local development (build + serve + watch):
npm run start
  1. Build a production-style output:
npm run build

Available npm Scripts

  • npm run start: runs gulp serve --watch, builds Jekyll with _config_dev.yml, serves _site/, and watches SCSS/JS/templates
  • npm run build: runs gulp build (assets + Jekyll production-style build)

Project Structure

  • index.html, 404.html: top-level pages
  • _layouts/, _includes/: Jekyll templates and reusable partials
  • _data/*.yml: structured content (skills, experience, projects)
  • _scss/, _scss/partials/: source stylesheets
  • _scripts/: source JavaScript files processed by Gulp
  • css/, js/: generated assets for local serving/deploy output
  • build/: Gulp task modules (sass, scripts, images, browsersync)
  • img/, fonts/: static assets

Troubleshooting

npm install fails with EACCES in ~/.npm

This is a local npm cache permission issue (usually caused by previous sudo npm usage), not a website code issue. Fix it with:

sudo chown -R "$(id -u)":"$(id -g)" ~/.npm

jekyll command not found

Install Jekyll in your Ruby environment, then rerun npm run start or npm run build.

About

Personal website forked from bchiang7

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages