Skip to content

Add local development environment setup (Gemfile, AGENTS.md)#1

Draft
hzy029 wants to merge 1 commit into
mainfrom
cursor/setup-dev-env-d5b7
Draft

Add local development environment setup (Gemfile, AGENTS.md)#1
hzy029 wants to merge 1 commit into
mainfrom
cursor/setup-dev-env-d5b7

Conversation

@hzy029

@hzy029 hzy029 commented May 9, 2026

Copy link
Copy Markdown
Owner

Summary

Set up local Jekyll development environment for this GitHub Pages course site.

Changes

  • Gemfile + Gemfile.lock: Added github-pages gem to faithfully reproduce the GitHub Pages build environment locally. This enables bundle exec jekyll serve for 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 4000

Then 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.

Open in Web Open in Cursor 

- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants