jmapcloud-dashboard-js

0.0.71 • Public • Published

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 :

- "TSLint (deprecated)" extention
- "Prettier - Code formatter" extention (Author : Esben Petersen)
- "vscode-styled-components" extention (Author : Julien Poissonier)

Configure vscode

- Create or edit app/.vscode/settings.json
- Add the following content :
{
  "tslint.autoFixOnSave": true,
  "tslint.enable": true,
  "tslint.configFile": "./build/tslint.json",
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false
}

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.

To achieve this you must run this command inside the root of your local checkout of the portal:

./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://portal.dev-jdoe.jmapcloud.io/

Readme

Keywords

none

Package Sidebar

Install

npm i jmapcloud-dashboard-js

Weekly Downloads

72

Version

0.0.71

License

ISC

Unpacked Size

7.96 MB

Total Files

63

Last publish

Collaborators

  • k2-dev