jmapcloud-ng
v1.0.73
Published
K2 Geospatial Web Client
Downloads
450
Readme
The first time, install dependencies :
npm i
To start the application :
npm start
The application is accessible at this location : http://localhost:8086
When code is changed, it's automatically built and the web page refresh by its own (thanks webpack dev server).
Install the following vs-code extensions :
- https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
- "Prettier - Code formatter" extention (Author : Esben Petersen)
VPS publishing
When working in a VPS environment, your personal VPS expect to find the Portal compiled sources in a local diretory inside the web hosting VPS infrascructure.
IMPORTANT: To be able to serve NG onn your VPS you need to "syncAndBuild" both jmapcloud-ng and jmapcloud-ng-core
To achieve this you must run this command inside the root of your local checkout of jmapcloud-ng, and jmapcloud-ng-core, in turn (build order is not important):
// inside jmapcloud-ng:
./syncAndBuild.sh <vps-prefix>
// and then inside jmapcloud-ng-core:
./syncAndBuild.sh <vps-prefix>
If your vps is "dev-jdoe.jmapcloud.io" then you should run:
./syncAndBuild.sh dev-jdoe
after build, your compiled portal would be accessible at https://ng.dev-jdoe.jmapcloud.io/