Set up the project and run it locally. This page is about environment setup. For how the code is organized, see architecture.md; for making content changes, see the Contributing Guide.
- Live site: https://mpslab-asu.github.io
- Framework: Astro 5 (static output) with React islands and Tailwind CSS
- Search: Fuse.js for publications, Pagefind for site-wide search
- Content: Markdown collections in
src/content/plus data files insrc/data/
- Node.js v20 or newer
- npm
- Git
- (Optional) Docker / Docker Compose
npm install
npm run devOpen http://localhost:4321. The dev server hot-reloads on save.
docker compose upOpen http://localhost:4321. Stop with:
docker compose downnpm run build # type-check, static build to dist/, generate search index
npm run preview # serve the built output locallyRun npm run build before opening a pull request — it validates all content
against the schemas. Site-wide (Pagefind) search only works against a build, so
use npm run build && npm run preview to test search locally.
- Make a content change → Contributing Guide
- Understand the codebase → Architecture
- Look up a content field → Content Guides
- Deploy or troubleshoot → Build & Deployment