User interface for the QHAna Backend API and the QHAna Plugin Runner
This project was generated with Angular CLI version 12.1.4.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Then, make sure that the correct Plugin Seed URLs is set on the Settings page. If not manually specify a URL (e.g. http://localhost:5005
if the plugin runner runs on port 5005
). Also specify the QHAna Backend service by clicking navigating to "All services" in the "Services" card and insert the backend service info (e.g. Service URL http://localhost:9090
if the backend is running on port 9090
). The Service Identifier must be set to qhana-backend
.
Build the image with: docker build -t qhana-ui .
Run a container with this image and bind it to port 8080 with docker run -p 8080:8080 qhana-ui
if you want to run the container detached add the flag -d
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Build the container with docker build -t qhana-ui .
Run the container with docker run -p 8080:8080 qhana-ui
QHANA_BACKEND_PROTOCOL
: default protocol for the QHAna backend e.g.http:
QHANA_BACKEND_HOSTNAME
: default hostname for the QHAna backend e.g.localhost
QHANA_BACKEND_PORT
: default port for the QHAna backend e.g.9090
QHANA_BACKEND_PATH
: default path for the QHAna backend e.g./path
They can be added to the run command if you want to change them temporarily e.g. -e QHANA_BACKEND_PORT=9999
or to the dockerfile if you want to change them permanently e.g. ENV QHANA_BACKEND_PORT=9999
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
Current development is supported by the Federal Ministry for Economic Affairs and Energy as part of the PlanQK project (01MK20005N).
Dies ist ein Forschungsprototyp. Die Haftung für entgangenen Gewinn, Produktionsausfall, Betriebsunterbrechung, entgangene Nutzungen, Verlust von Daten und Informationen, Finanzierungsaufwendungen sowie sonstige Vermögens- und Folgeschäden ist, außer in Fällen von grober Fahrlässigkeit, Vorsatz und Personenschäden, ausgeschlossen.
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.