This repository contains a Jekyll-based website with a Python server for deployment.
There are three ways to run this site locally:
This method runs just the Jekyll site without the Python server. It’s the quickest way to get started for content development:
# Navigate to the Jekyll directory
cd jekyllsite
# Install dependencies (first time only)
bundle install
npm install
# Serve the site locally
bundle exec jekyll serve
The site will be available at http://localhost:4000
This method runs both the Jekyll site and Python server together, simulating the full stack:
# Start the services defined in docker-compose.yml
docker-compose up
This will:
This method builds and runs the site as it would be in production:
# Build the Docker image
docker build -t site .
# Run the container
docker run -p 8080:8080 site
The site will be available at http://localhost:8080
jekyllsite
directorypyserver
directory