]> git.evergreen-ils.org Git - working/Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/Architecture/angular6-app.adoc
LP#1775466: improve release notes for the Angular6 app
[working/Evergreen.git] / docs / RELEASE_NOTES_NEXT / Architecture / angular6-app.adoc
1 Angular6 Base Application
2 ^^^^^^^^^^^^^^^^^^^^^^^^^
3 With Evergreen 3.2, we introduce the initial infrastructure for
4 migrating to a new version of Angular.  The structure of the new code
5 is quite different from the AngularJS code and it runs as a separate
6 application which communicates with the AngularJS app via shared storage
7 and in-page URLs that link back and fort between the two.
8
9 For this release, users will only be directed to the new Angular site
10 when navigating to Administration => Acquisitions Administration.  Once
11 on this page, some of the admin interfaces will presented as Angular6
12 interfaces, while others will direct users back to the AngularJS
13 application.  The Angular6 interfaces are the simpler, grid-based
14 interfaces.
15
16 Acquisitions Admin Angular6 Interfaces
17 ++++++++++++++++++++++++++++++++++++++
18
19  * Cancel Reasons
20  * Claim Event Types
21  * Claim Policies
22  * Claim Policy Actions
23  * Claim Types
24  * Currency Types
25  * EDI Accounts
26  * EDI Messages
27  * Exchange Rates
28  * Fund Tags
29  * Invoice Item Types
30  * Invoice Payment Method
31  * Line Item Alerts
32  * Line Item MARC Attribute Definitions
33
34 System Admin Upgrade Notes
35 ++++++++++++++++++++++++++
36
37 Like the AngularJS application, Evergreen releases will come with all
38 web browser staff client code pre-compiled.  Admins only need to add an
39 Apache configuration change.
40
41 Add the following stanza to /etc/apache2/eg_vhost.conf.
42
43 [source,conf]
44 --------------------------------------------------------------------------
45 RewriteCond %{REQUEST_URI}  ^/eg2/
46 RewriteCond %{REQUEST_URI}  !^/eg2/([a-z]{2}-[A-Z]{2})/
47 RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
48
49 <Directory "/openils/var/web/eg2/en-US">                                       
50     FallbackResource /eg2/en-US/index.html                                     
51 </Directory>  
52 --------------------------------------------------------------------------
53
54 For multi-locale sites, see the bottom section of
55 Open-ILS/examples/apache[_24]/eg_vhost.conf.in for a sample fr-CA
56 configuration.  The section starts with "/eg2/ client setup and locale
57 configuration"
58
59 Developer Upgrade Notes
60 +++++++++++++++++++++++
61
62 Developers building Angular code on existing installations need to update 
63 their version of NodeJS by re-running the -developer prereqs installer.
64
65 [source,sh]
66 --------------------------------------------------------------------------
67 sudo make -f Open-ILS/src/extras/Makefile.install <osname>-developer
68 --------------------------------------------------------------------------
69
70