This repository holds projects that together comprise the Workbench User interface along with backend microservices.
- JDK 11
- Spring Boot 1.5.20
- Git Shell (https://git-for-windows.github.io/) or SourceTree (https://www.sourcetreeapp.com/) for Cloning & pushing the code changes.
- Maven 3.x
- Proxy setup to download dependencies from open source repositories
- Open Source or GitShell Command Line Interface
- Node JS v10.15.1
- Angular CLI v7.0.3
- Polymer CLI v1.9.6
Browse to your preferred directory and run below command:
git clone [email protected]:datasphere-oss/workbench-service.git
- This repository contains one Angular application named as 'home-webcomponent' which need to be build and deployed as Angular application. Instructions are provided below for same.
- There are several polymer components present in this repository such as 'dashboard-webcomponent', 'project-webcomponent', 'project-catalog-webcomponent' etc. which need to be build and deployed as Polymer application. Instructions are provided below for same.
- This repository contains 3 microservices named as 'project-service', 'notebook-service' and 'pipeline-service' which are based on Spring Boot based framework and need to be deployed as a Java application.
- Part of Boreas release, Node Express server is being implemented in the Angular/Polymer components for reverse proxy and sharing environment properties to the UI components. This implementation will be revisit in next release to seek other best approach.
A. Build Polymer application
-
Navigate to Each polymer component root directory and install all npm dependencies via below command:
npm install --prod
-
Build each polymer component with below command
npm run build:component
B. Build Angular application
-
Navigate to Angular Application root directory and install all npm dependencies via below command:
npm install
-
Build angular application with below command
npm run build:component
C. Run/Deploy Polymer/Angular application with below command. [[Application will be running and accessible to the port as defined in server.js file present in API folder]
npm run run:api
http://localhost:<port_num>/
@Apache 2.0