Tramontana Archive reader
e2e | ||
src | ||
.editorconfig | ||
.gitignore | ||
angular.json | ||
browserslist | ||
karma.conf.js | ||
package-lock.json | ||
package.json | ||
protractor.conf.js | ||
README.md | ||
tsconfig.json | ||
tslint.json |
TauFrontend
App for read Tramontana feeds.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Create Nginx Proxy for CORS in Omeka
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
server {
listen 80;
server_name oralitat;
access_log /var/log/nginx/omekaApiProxy.access.log;
location / {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Expose-Headers' 'Omeka-Total-Results,Link';
proxy_pass http://oralitatdegasconha.net/culturaviva/;
}
}