0.1.0 • Published 1 year ago
threedr-viewer v0.1.0
3dr-viewer-demo
Panorama demo viewer for 3DR project
Authors
- 박소영 p.soyoung@naverlabs.com
Development Environment
npm
node@19.4.0
protoc
(protocol buffer compiler)- MacOS:
$ brew install protobuf $ protoc --version
- Linux:
$ sudo apt install protobuf-compiler $ protoc --version
- 원래는
npm install --save-dev protoc
으로 설치하려 했는데, \ M1 Mac에서 실행이 안되는 이슈가 있어서, 부득이하게 시스템에 protobuf 설치하도록 함.
- MacOS:
Build
- Build distribution files:
$ npm install $ npm run build
- Then distribute all files in
dist/
directory:dist/ |- threedr-viewer.js
- Then distribute all files in
- Test a sample and demo page in your local environment:
- Open python server:
Then open$ python -m http.server <port-number>
http://localhost:<port-number>/demo/
. - Or open with rollup:
Then open$ npm run test
http://localhost:9004/demo/
.
- Open python server:
- Clean
dist/
directory:$ npm run clean
0.1.0
1 year ago