LP#1626157 Doc updates
authorBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 15:46:50 +0000 (11:46 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 15 May 2018 15:46:50 +0000 (11:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/README.adoc

index 5788b2a..5d1322a 100644 (file)
@@ -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
 ---------------------------------------------------------------------
+