Bilingual Astro static site for the Yen Lab work website.
Run commands from the project directory:
cd /Users/kuangyuyen/Research/Websites/yenlab.github.ioIf your shell does not already have Node.js and pnpm available, use the bundled Codex runtime:
export PATH=/Users/kuangyuyen/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:/Users/kuangyuyen/.cache/codex-runtimes/codex-primary-runtime/dependencies/bin:$PATHBuild and preview the static site:
CI=true pnpm run build
CI=true ASTRO_TELEMETRY_DISABLED=1 ./node_modules/.bin/astro preview --host 127.0.0.1 --port 4321Then open:
http://127.0.0.1:4321/
For active development with live reload, run:
ASTRO_TELEMETRY_DISABLED=1 pnpm run dev -- --host 127.0.0.1 --port 4321Most bilingual site text is maintained in:
src/content/site.ts