Angular6 Base Application

System Admin Upgrade Notes

Like the AngularJS application, Evergreen releases will come with all web browser staff client code pre-compiled. Admins only need to add an Apache configuration change.

Add the following stanza to /etc/apache2/eg_vhost.conf.

RewriteCond %{REQUEST_URI}  ^/eg2/
RewriteCond %{REQUEST_URI}  !^/eg2/([a-z]{2}-[A-Z]{2})/
RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]

<Directory "/openils/var/web/eg2/en-US">
    FallbackResource /eg2/en-US/index.html
</Directory>

For multi-locale sites, see the bottom section of Open-ILS/examples/apache[_24]/eg_vhost.conf.in for a sample fr-CA configuration. The section starts with "/eg2/ client setup and locale configuration"

Developer Upgrade Notes

Developers building Angular code on existing installations need to update their version of NodeJS by re-running the -developer prereqs installer.

sudo make -f Open-ILS/src/extras/Makefile.install <osname>-developer