Data Cube Manager is a web application for cube-builder, built on top of Angular to manage Data Cubes on Brazil Data Cube project.
Make sure you have the following libraries installed:
Install the dependencies with npm as following:
npm installFirst of all, you must have an instance of Cube-Builder up and running.
Create or Edit the file assets/env.js and set the required variables:
environmentVersion: Flag to setData Cube Managerapplication context. The available options are:localfor on-premise cube-builder andcloudfor AWS environment. Defaults tolocal.itemPrefix: Base prefix for identity/composed data cubes. Defaults to/cubes.itemBaseUrl: Base URL for HTTP image preview. Defaults tohttps://brazildatacube.dpi.inpe.br.
To launch the development server, use the command:
npm startAnd then navigate to http://localhost:4200. The app will automatically reload if you change any of the source files.
To build package as production mode, use the following command line:
npm run build
# ng build # if you have installed the angular cli globally.The build artifacts will be stored in the dist/ directory.
You can also build the Data Cube Manager with Docker Image.