The Elastic Maps Landing Page is a previewer of the data of the Elastic Maps Service. It allows users to browse the data that is available within EMS.
The page is designed as a single-page application. It loads the root manifest from EMS using a cross-domain call. This is similar to how Kibana retrieves the manifest from EMS.
yarn
is used as the dependency manager and script runner for this project. Ensure both node
and yarn
are installed on your system.
webpack
is used for Javascript transpilation.
grunt
is used for creating a distributable package of the app.
yarn install
yarn dev
Keep this running. The javascript/css will be automatically recompiled when files change.
Open public/index.html
You can run the page either from the file-system or any web-server.
To package the app, run the build script.
yarn build
This script will put the relevant resources of the app in the ./build/release/**
folder. It will also zip up the app in the same directory.
If any intermediate tasks break before packaging, such as a javascript linting or compilation failure, the build-script will error out. Fix the errors, and redeploy.