This repository contains the code for the Structural Biology Platform (SBP) web portal, which provides a user interface for accessing and managing structural biology resources.
This repository now contains a minimal Angular (Angular 21 + Tailwind) application scaffold at the repository root.
To run it locally:
- Install Node.js (recommended: use nvm) so
node,npm, andnpxare available. - Install dependencies:
npm install- Start the dev server:
npm start- To run tests:
npm testNotes:
- Runtime config is loaded from
src/assets/config/app-config.jsonand merged with defaults fromsrc/environments/environment.ts, matching the AAI portal pattern. Updateapp-config.jsonfor local runtime config changes. - Tailwind and PostCSS are configured via
tailwind.config.cjsandpostcss.config.cjs. - If you scaffolded with a different version of Angular CLI locally, some generated files may differ; these files are a minimal starting point created without running the Angular CLI in this environment.
To run and fix lint locally:
npm run format