From 5524da4aa014b15c8bd6b0c005e41a6991490e96 Mon Sep 17 00:00:00 2001 From: Adrian Szuszkiewicz Date: Tue, 30 Jan 2024 18:02:57 +0100 Subject: [PATCH] Update article (References: #27) --- docs/superhumaninstaller/piechart/index.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/superhumaninstaller/piechart/index.md b/docs/superhumaninstaller/piechart/index.md index 5d77d8b..aa9ef42 100644 --- a/docs/superhumaninstaller/piechart/index.md +++ b/docs/superhumaninstaller/piechart/index.md @@ -66,6 +66,22 @@ Now, the fun part begins – creating the Pie Chart! ![](.\img\form-done.png) +## Building and deploying the project +1. With the PieChartNsf project selected, go to `Project -> Build on Vagrant`. Choose the server you set up earlier. +2. With the project still selected, go to `Project -> Deploy Domino Database` +3. Now it's time to create Java Agents responsible for fetching and updating the data. Go to `Project -> Generate Java Agents`. When prompted, select the parent directory, so Java Agents are next to your NSF project. +4. Now select the Java Agents project, and go to `Project -> Run on Vagrant`. Wait for the agents to deploy. + +## Using Apache Royale ECharts template + +1. Download the example repository: https://github.com/Moonshine-IDE/PieChartExample +2. Extract the zip file and copy PieChartRoyale folder, so it sits next to PieChartNsf and PieChartNsf_JavaAgents folders. +3. In Moonshine-IDE, go to `Project -> Open/Import Project` and select PieChartRoyale. +4. Right click on the PieChartRoyale project. Go to `Settings -> Build Options -> Custom SDK` and select the latest Apache Royale nightly version (which you can download with Moonshine SDK Installer). +5. Go to `Project -> Build Project` to build locally. +6. Then, go to `Project -> Deploy to Vagrant Server` and choose your created server. +7. Change the lauch URL to `https://domino.hostname.certifier.com/PieChartRoyale/js-release/index.html`. Make sure to substitute hostname and certifier with your own. + To be continued...