Since the development environment doesn’t have Ruby/Jekyll installed, here’s how to test on your local machine:
# 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
# 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
# Delete lock file and retry
rm Gemfile.lock
bundle install
# Clear cache and reinstall
npm cache clean --force
rm -rf node_modules package-lock.json
npm install
# Clean and rebuild
bundle exec jekyll clean
bundle exec jekyll serve --trace
# Use different port
bundle exec jekyll serve --port 4001
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.
If you encounter issues:
./dev.sh
scripthttp://localhost:4000
(not https)The transformation should be immediately visible - your old plain academic site will now have a modern, professional appearance! 🎉