Academic personal website of Minhuan Li, built with al-folio.
Requires Ruby 3.3. On macOS with Homebrew:
brew install ruby@3.3Install dependencies:
PATH="/opt/homebrew/opt/ruby@3.3/bin:/opt/homebrew/opt/ruby@3.3/lib/ruby/gems/3.3.0/bin:$PATH" bundle installStart the server:
PATH="/opt/homebrew/opt/ruby@3.3/bin:/opt/homebrew/opt/ruby@3.3/lib/ruby/gems/3.3.0/bin:$PATH" bundle exec jekyll serve --livereload --port 4000The site will be available at http://127.0.0.1:4000.
Pushing to master triggers the GitHub Actions workflow (.github/workflows/deploy.yml), which builds the site and deploys it to the gh-pages branch. GitHub Pages is configured to serve from gh-pages.