current development happening at https://github.com/braingeneers/Picroscope-Image-Viewer-Dockerized
Viewer for images generated by the picroscope and uploaded to the prp
Install node/npm and then:
npm install
Make sure your dependencies match (e.g., 'npm i @vue/[email protected]' and so on)
npm list --depth=0
[email protected] yourfilepath/images
- @vue/[email protected]
- @vue/[email protected]
- @vue/[email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
If you run into a missing package for babel on first compile see: https://stackoverflow.com/questions/52087421/module-build-failed-from-node-modules-babel-loader-lib-index-js-typeerror
npm run serve
Open a browser to http://10.0.0.175:8080/images/ to view. Changes to the source will auto reload.
npm run deploy
To allow objects to be access cross domains aws --profile prp-braingeneers --endpoint https://s3.nautilus.optiputer.net s3api put-bucket-cors --bucket braingeneers --cors-configuration file://cors.json