This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a commit to branch feature/OPENMEETINGS-2661-fix-typo-and-link
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to 
refs/heads/feature/OPENMEETINGS-2661-fix-typo-and-link by this push:
     new d62a3b3  OPENMEETINGS-2661 Fix another typo.
d62a3b3 is described below

commit d62a3b33f8252cea139d6b64427f2c733b0553b4
Author: Sebastian Wagner <seba.wag...@gmail.com>
AuthorDate: Sun Sep 12 11:39:49 2021 +1200

    OPENMEETINGS-2661 Fix another typo.
---
 openmeetings-server/src/site/xdoc/RestAPISample.xml | 2 +-
 openmeetings-web/generate-js.sh                     | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/openmeetings-server/src/site/xdoc/RestAPISample.xml 
b/openmeetings-server/src/site/xdoc/RestAPISample.xml
index 2c735d3..f34520d 100644
--- a/openmeetings-server/src/site/xdoc/RestAPISample.xml
+++ b/openmeetings-server/src/site/xdoc/RestAPISample.xml
@@ -88,7 +88,7 @@ const loginUrl = 
`${BASE_URL}/hash?secure=${hashResult.message}`
                </p>
                <p>More in depth examples and use cases can be found at the 
module page <a href="https://www.npmjs.com/package/openmeetings-node-client"; 
target="_blank">https://www.npmjs.com/package/openmeetings-node-client</a></p>
                <div class="bd-callout bd-callout-info">
-                       A sample Node.js sample use case for a website using 
Express.js can be found here: <a 
href="https://om-hosting.com/openmeetings-integration-nodejs/"; 
target="_BLANK">https://om-hosting.com/openmeetings-integration-nodejs/</a>
+                       A sample Node.js use case for a website using 
Express.js can be found here: <a 
href="https://om-hosting.com/openmeetings-integration-nodejs/"; 
target="_BLANK">https://om-hosting.com/openmeetings-integration-nodejs/</a>
                </div>
                </section>
                <section name="How to get room hash via REST via jQuery">
diff --git a/openmeetings-web/generate-js.sh b/openmeetings-web/generate-js.sh
new file mode 100755
index 0000000..1113851
--- /dev/null
+++ b/openmeetings-web/generate-js.sh
@@ -0,0 +1,9 @@
+# Run NPM install on each of the packages (only required once unless you 
change dependency):
+# mvn frontend:npm@main-install frontend:npm@chat-install 
frontend:npm@settings-install frontend:npm@room-install frontend:npm@wb-install
+# Run NPM 
+mvn frontend:npm@main frontend:npm@chat frontend:npm@settings 
frontend:npm@room frontend:npm@wb
+# Minify CSS
+mvn minify:minify@theme-minify minify:minify@nettest-js
+# Copy to destination, in this case running OpenMeetings using the embedded 
Jetty, see above
+export CURRENT_DIR=$(pwd)
+rsync -a $CURRENT_DIR/target/generated-sources/js/ 
$CURRENT_DIR/target/openmeetings-web-7.0.0-SNAPSHOT/WEB-INF/classes/

Reply via email to