forked from seokho-son/cb-mapui
-
Notifications
You must be signed in to change notification settings - Fork 1
How to build
Seokho Son edited this page Dec 15, 2022
·
2 revisions
-
npm, Node.js
-
https://github.com/nodesource/distributions 의 Node.js v16.x 설치 (아래 설치 명령어 예시 참조)
# Using Ubuntu curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs
-
https://github.com/nodesource/distributions 의 Node.js v16.x 설치 (아래 설치 명령어 예시 참조)
-
의존 node 패키지:
package.json
참고package.json
를 기준으로 모든 의존 패키지(ol 및 parcel 포함) 설치npm install
(Openlayers: https://openlayers.org/en/latest/doc/tutorials/bundle.html )
- Build
npm run build
- Run the server
npm start
(출력 예시)
Server running at http://localhost:1324
✨ Built in 6.32s
# Access to http://x.x.x.x:1324/ (ex: http://localhost:1324/)