Delta3Consulting Blog
Launch the blog locally with a single command:
./run-blogThis will start the dev server and automatically open the site in your browser at http://localhost:4000.
Alternatively, use the convenient Makefile:
make dev # Opens in browser automatically
make serve # Just start the server
make help # View all available commandsUse one of these commands to start the development server manually:
# Using ./run-blog (fastest)
./run-blog
# Using Makefile (recommended)
make dev
make serve
# Using bundle directly
./serve.sh
./dev-serve.shWhen running in development mode:
- A banner will appear showing you're in development mode
- All links to delta3consulting.com will be automatically redirected to localhost:4000
- CSS, JavaScript, and image references will also be fixed
The Makefile provides convenient commands for common tasks:
make dev # Start dev server (opens in browser)
make build # Build production version
make audit # Check security vulnerabilities
make check # Run all pre-deploy checks
make deploy # Push to production
make help # View all commandsFor detailed command reference, see section "Available Commands" in DEVELOPMENT.md.
For production builds:
JEKYLL_ENV=production bundle exec jekyll buildThe site is automatically deployed to GitHub Pages via GitHub Actions on every push to main. The workflow:
- Runs on Ubuntu with Ruby 3.3
- Installs dependencies via bundler
- Builds the site in production mode
- Deploys to GitHub Pages
To deploy: Simply push to the main branch:
git add .
git commit -m "Your message"
git push origin mainThe deployment will appear at https://delta3consulting.com within a few minutes.
Run these checks locally:
# Run security audit
bundle audit
# Run production build
JEKYLL_ENV=production bundle exec jekyll build --verbose
# Run automated pre-deployment check
./dev-serve.sh &
sleep 5
python3 scripts/pre-deployment-check.py
# Should output: ✅ ALL CHECKS PASSED - READY FOR PRODUCTION
# Smoke test in browser
./run-blog
# Visit http://localhost:4000 and verify:
# - Homepage loads correctly
# - Navigation links work
# - Blog page lists recent posts
# - Events page displays events
# - Contact page is accessible
# - Footer appears on all pagesAutomated Pre-Deployment Checks:
When you create a pull request to main, automated checks run automatically via GitHub Actions:
- Builds the site in production mode
- Runs automated link and resource verification
- Reports results in the PR
- Helps prevent broken content from reaching production
For details, see PRE-DEPLOYMENT_CHECK.md and the "Pre-Deployment Automation" section in DEVELOPMENT.md.
See TROUBLESHOOTING.md for common issues and solutions.
Complete documentation for development, deployment, and troubleshooting:
- DEVELOPMENT.md - Full development guide including setup, workflow, and commands
- PRE_DEPLOYMENT_CHECK.md - Automated checking system for pre-deployment verification
- QUICK_START_DEPLOYMENT.md - Quick reference for deployment process
- TROUBLESHOOTING.md - Solutions for common issues
- DEPLOYMENT_CHECKLIST.md - Manual pre-deployment verification steps
- Makefile - Quick reference for all available commands
New contributors should run:
./scripts/setup-dev-env.shThis installs dependencies and sets up optional git hooks for automatic pre-push checks.