An instance of microscope_simulator.
- install dependency
yarn install
- build for deploy
yarn build:prod
- update core dependency (if needed)
yarn update:core
: update to latest release branch of the microscope_simulatoryarn update:core <git ref>
: update to specified branch, tag, or commit of the microscope_simulator ex.origin/master
or2.3.0
- Launch local server with building for local environment
yarn start
- then open http://localhost:8080
See details in this document (Japanese only, English T.B.D)
This application use Service Worker for caching files to reduce data transfer size. Therefore, update the version of the Service Worker is necessary to update the code of the client devices.
The deployment procedure is below.
- Edit source code
- Update package version (also in order to service worker version automatically)
- Push changes to master for dev deployment or release for prod deployment
- Build and deploy changes (automatically done by CircleCI)
- Clear cache of CDN if it is necessary (automatically done by CircleCI)