🧪 Testing the Modernized Site

Since the development environment doesn’t have Ruby/Jekyll installed, here’s how to test on your local machine:

Option 1: Simple Jekyll Setup

# In your local terminal (not the IDE):
cd /path/to/alexlimh.github.io

# Install dependencies
bundle install
npm install

# Build assets  
npm run build

# Start development server
./dev.sh
# or manually: bundle exec jekyll serve --livereload

# Open http://localhost:4000

Option 2: Docker (if you prefer containers)

# Create a simple Dockerfile for testing
echo "FROM ruby:3.1
WORKDIR /site
COPY . .
RUN bundle install && npm install && npm run build
EXPOSE 4000
CMD bundle exec jekyll serve --host=0.0.0.0" > Dockerfile

# Build and run
docker build -t academic-site .
docker run -p 4000:4000 academic-site

🎯 What to Look For

Homepage (/)

Publications Page (/publications/)

Author Sidebar

Mobile Experience

Performance

🐛 Common Issues & Fixes

Bundle Install Fails

# Delete lock file and retry
rm Gemfile.lock
bundle install

NPM Build Errors

# Clear cache and reinstall
npm cache clean --force  
rm -rf node_modules package-lock.json
npm install

Jekyll Serve Issues

# Clean and rebuild
bundle exec jekyll clean
bundle exec jekyll serve --trace

Port 4000 Already in Use

# Use different port
bundle exec jekyll serve --port 4001

📋 Test Checklist

Desktop Testing

Mobile Testing

Performance Testing

🚀 Expected Results

You should see a dramatically improved site with:

If something doesn’t look right, check the browser console for errors and refer to the troubleshooting section above.

📞 Need Help?

If you encounter issues:

  1. Check browser console for JavaScript/CSS errors
  2. Verify all dependencies installed correctly
  3. Try the manual setup steps instead of the ./dev.sh script
  4. Make sure you’re viewing http://localhost:4000 (not https)

The transformation should be immediately visible - your old plain academic site will now have a modern, professional appearance! 🎉