From: Bill Erickson Date: Tue, 15 May 2018 15:46:50 +0000 (-0400) Subject: LP#1775466 Doc updates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d9c7bc7d5a0fb2e87d770e97a8302c59565f8f17;p=working%2FEvergreen.git LP#1775466 Doc updates Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/README.adoc b/Open-ILS/src/eg2/README.adoc index 5788b2a78d..5d1322a83a 100644 --- a/Open-ILS/src/eg2/README.adoc +++ b/Open-ILS/src/eg2/README.adoc @@ -18,14 +18,16 @@ sudo systemctl reload apache2 === Dependencies -* Current angular/cli version is 6.x which requires Node8. Will - resolve as part of the Angular6 update. - [source,sh] --------------------------------------------------------------------- -$ sudo npm install -g @angular/cli@1.7.3 +$ cd /tmp +$ wget 'https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz' +$ sudo tar -C /usr/local --strip-components 1 -xJf node-v8.11.1-linux-x64.tar.xz +$ sudo npm update +$ sudo npm install -g @angular/cli $ cd $EVERGREEN/Open-ILS/src/eg2 $ npm update +$ npm install --------------------------------------------------------------------- === Transpile + Deploy in --watch mode for Dev @@ -44,7 +46,7 @@ $ ng build --app eg --watch --deploy-url /eg2/ --base-href /eg2/ --output-path [source,sh] --------------------------------------------------------------------- -ng build --app eg --aot --prod --deploy-url /eg2/ --base-href /eg2/ --output-path ../../web/eg2/ +$ ng build --app eg --aot --prod --deploy-url /eg2/ --base-href /eg2/ --output-path ../../web/eg2/ --------------------------------------------------------------------- === Link build files into place for ease of dev @@ -53,5 +55,6 @@ ng build --app eg --aot --prod --deploy-url /eg2/ --base-href /eg2/ --output-pat [source,sh] --------------------------------------------------------------------- -sudo -u opensrf ln -s $EVERGREEN/Open-ILS/web/eg2 /openils/var/web/eg2 +$ sudo -u opensrf ln -s $EVERGREEN/Open-ILS/web/eg2 /openils/var/web/eg2 --------------------------------------------------------------------- +