Socket
Book a DemoInstallSign in
Socket

jmap-app-js

Package Overview
Dependencies
Maintainers
0
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jmap-app-js

K2 Geospatial Web API

latest
7_Kathmandu_HF22
npmnpm
Version
2.22.0
Version published
Maintainers
0
Created
Source

The first time, install dependencies :

npm i

To start the application :

npm start

The application is accessible at this location : http://localhost:8082

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 app-js and core-js

To achieve this you must run this command inside the root of your local checkout of app-js, and core-js, in turn (build order is not important):

// inside app-js:
./syncAndBuild.sh <vps-prefix>

// and then inside core-js:
./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/

FAQs

Package last updated on 15 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts