1
0
Tramontana Archive reader
Go to file
2019-10-21 20:18:09 +02:00
e2e chore: initial commit from @angular/cli 2019-05-06 09:37:34 +02:00
src Update Angular Cli 2019-10-21 20:18:09 +02:00
.editorconfig chore: initial commit from @angular/cli 2019-05-06 09:37:34 +02:00
.gitignore chore: initial commit from @angular/cli 2019-05-06 09:37:34 +02:00
angular.json Update interface for simplify view and publish to Tramontana Website 2019-07-20 18:57:52 +02:00
karma.conf.js Base code for develop feed reader from APIs Tramontana Partners 2019-05-12 02:47:36 +02:00
package-lock.json Update Angular Cli 2019-10-21 20:18:09 +02:00
package.json Update Angular Cli 2019-10-21 20:18:09 +02:00
protractor.conf.js chore: initial commit from @angular/cli 2019-05-06 09:37:34 +02:00
README.md Update reader for Collective Access and README proxy info 2019-05-14 17:26:12 +02:00
tsconfig.json Update Angular Cli 2019-10-21 20:18:09 +02:00
tslint.json Update Angular Cli 2019-10-21 20:18:09 +02:00

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/;
  }
}