Upgraded all libraries, switched to npm, upgraded angular and jdk21
Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit

This commit is contained in:
iparenteau committed 2026-09-04 15:22:35 -05:00
1 parent c2f8e20fad
commit a6df549919
335 files changed
+10923 -12700

No files matched your search

+12 -12
View File
@@ -20,32 +20,32 @@ This section describes how to setup the \portal environment to be able to build
\begin{enumerate}
\item Add developers public key to BigMac account
\item Clone the repository \newline
\command{git clone ``ssh://git@bigmac.northgrum.com:8010/saipt/portal-webapp.git''}
\command{git clone ``ssh://git@bigmac.locusworks.net:8010/saipt/portal-webapp.git''}
\end{enumerate}
\item Create/Edit \command{settings.xml} in the \command{.m2} located in the home directory. See Subsection~\ref{settings.xml}
\item \portal requires \command{ngas-commons} library to be built prior to building the web application. See Subsection~\ref{ngas-commons}
\item \portal requires \command{locusworks-commons} library to be built prior to building the web application. See Subsection~\ref{locusworks-commons}
\item Change directories into the project and run \command{mvn clean install antrun:run@warcopy}. This could take some time to download the required libraries.
\item Start the tomcat server and navigate to \command{http://localhost:8080/portal/} to make sure the server comes up
\end{enumerate}
\subsection{NGAS Commons}
\label{ngas-commons}
NGAS Commons is a common library of functions that other java applications can take advantage of.
\subsection{Locusworks Commons}
\label{locusworks-commons}
Locusworks Commons is a common library of functions that other java applications can take advantage of.
To checkout the library:\newline
\command{git clone ``ssh://git@bigmac.northgrum.com:8010/saipt/ngas-commons.git''}
\command{git clone ``ssh://git@bigmac.locusworks.net:8010/saipt/locusworks-commons.git''}
To build:\newline
\command{mvn clean install}
Note: \command{ngas-commons} needs to be built prior to building the main application
Note: \command{locusworks-commons} needs to be built prior to building the main application
\section{Yarn}
\label{yarn}
Yarn is the new package manager used with \command{node.js} in replacement of \command{npm} it uses the same \command{pacakge.json} file that \command{npm} did.
To download a new client side library use the command \command{yarn add <package-name> --save}. This will add the file to the \command{node\_modules} library.
\section{npm}
\label{npm}
npm installs the client-side dependencies declared in \command{package.json}.
From \command{portal\_client}, run \command{npm install} to install dependencies. To add a client-side library, run \command{npm install <package-name> --save}.
Next include the appropriate file into the \command{assets.js} file inside \command{portal\_client} to make sure it will be injected into the \command{index.html} file during compile time.