Add local development environment setup (Gemfile, AGENTS.md)#1
Draft
hzy029 wants to merge 1 commit into
Draft
Conversation
- Added Gemfile with github-pages gem to match GitHub Pages environment - Added AGENTS.md with Cursor Cloud specific development instructions - Enables local development with 'bundle exec jekyll serve' Co-authored-by: hzy029 <hzy029@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Set up local Jekyll development environment for this GitHub Pages course site.
Changes
Gemfile+Gemfile.lock: Addedgithub-pagesgem to faithfully reproduce the GitHub Pages build environment locally. This enablesbundle exec jekyll servefor local development.AGENTS.md: Added Cursor Cloud specific development instructions including dev server startup, key gotchas (no front matter required, Sass warnings, etc.), and testing guidance.How to run locally
bundle install bundle exec jekyll serve --host 0.0.0.0 --port 4000Then open http://localhost:4000/ in a browser.
Demo
jekyll_site_demo.mp4
Homepage with Cayman theme rendering correctly:
Homepage
Course page (机器学习与深度学习):
MLDL course page
Course page (深度学习):
DL course page
To show artifacts inline, enable in settings.