Smithsonian Datalabs home page. Links to the actual data labs on separate repos.
The development preview deployment is at https://smithsonian.github.io/si_website_datalabs .
- Node 22.9.0 or similar
If you need several Node versions to coexist on your machine, this project has a .tool-versions
for use with asdf.
- Prettier VS Code extension (recommended)
- Vue VS Code extension (recommended)
- Clone the repo.
- Inside the clone:
npm install
npm run dev
The app is now running at http://localhost:5173/ by default. Code changes will take effect immediately.
npm run format
to apply code style. This is not necessary if your IDE formats with Prettier on save.npm run build
to verify build success. TypeScript errors may appear here that do not appear in development mode.- (Optional)
npm run preview
after building. This will serve the build output on 4173, so you can verify it looks right. This is overkill unless you're making changes to the build process.
- (Optional)
- Commit to the
develop
branch. - Push the
develop
branch. After a few minutes your changes will appear at https://smithsonian.github.io/si_website_datalabs .