This project is a client side rendered react/vite application where we integrate the Mirador v4 viewer as well as customize it with plugins. Mirador is a media viewer that displays content provided to it via a manifest file which is used to fetch and display the media item (https://projectmirador.org/). This is a restarted project based off of the previous dlts_viewer (https://github.com/NYULibraries/dlts_viewer). This new project uses the newer Mirador 4 which recommends using vite if you are customizing it with plugins (since they use Javascript ES modules as opposed to the previously used UMD).
- git
- docker
- vscode
ms-vscode-remote.remote-containers
- clone repo
- open docker
- run command (cmd + shift + p)
open in dev container
- branch off of main
- create PR
- rules located in
.editorconfigandeslint.config.js - already included in devcontainer package extensions:
editorconfig.editorconfigdbaeumer.vscode-eslintesbenp.prettier-vscode- format on save for current file
- TBD
- client side rendered react application with build with output to
dist. - aws sync s3 bucket with new content
Steps:
- build local project for production (look for build in
dist) - ensure you have AWS credentials for deployment
- push to AWS S3 bucket
- clear cache