My (old) personal website and blog.
My portfolio has moved to a NextJS implementation.
This site uses Jekyll with Docker for local development. This approach eliminates the need to install Ruby and gems directly on your machine.
- Docker
- Docker Compose
- Node.js (version 20 or higher)
- npm (version 10 or higher)
-
Clone the repository:
git clone https://github.com/nathanjessen/nathanjessen.github.io.git cd nathanjessen.github.io -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The site will be available at http://localhost:4000 with live reload enabled.
-
To stop the server:
npm run stop
npm run devornpm start- Start the development server with Dockernpm run stop- Stop the development servernpm run clean- Stop the server and remove volumesnpm run build:dev- Build the site with development settingsnpm run buildornpm run build:production- Build the site for productionnpm run watch- Run Gulp watch for CSS processing
Some directories are created using GitHub pages in other repositories.
If you discover a bug, report it here or even better, edit and send a pull-request with the fix.
The build process uses Gulp and handles:
- Compiling Tailwind CSS
- Processing CSS with PostCSS:
- Importing CSS files with
postcss-import - Running Tailwind's JIT engine
- Adding vendor prefixes with Autoprefixer
- Minifying CSS with cssnano in production
- Importing CSS files with
- Running Jekyll for static site generation
- Live reloading during development with Jekyll's built-in server
"Tailwind is a utility-first CSS framework for rapidly building custom user interfaces." –Tailwind
Jekyll is a static site generator. It takes text written in your favorite markup language and uses layouts to create a static website. You can tweak the site's look and feel, URLs, the data displayed on the page, and more.