Konstantina Galouni
e6e9e06dfa
1. app.component.ts: Added MenuItems for Fields of Science and Sustainable Development Goals. 2. app-routing.module.ts: Added routing paths for /sdgs and /fields-of-science. 3. /fos & /sdgs: Added folders and files for new SDGs and FoS pages. 4. piwikHelper.ts: Added piwik for "egrise", "euconexus", "dth". 5. affiliations.component.ts: [Bug fix] Comment piwik track call (this component is called with/in other pages that are already tracked). 6. htmlPage.component.ts: [Bug fix] Get piwik siteId from PiwikHelper (TODO: Should get it by API). |
||
---|---|---|
src | ||
.browserslistrc | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
angular.json | ||
package.json | ||
server.ts | ||
tsconfig.json |
README.md
Connect
This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.
Install packages
Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.
Development server
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Build - CSR
Use the npm run build-dev
for a development build.
Use the npm run build-beta
for a beta build.
Use the npm run build-prod
for a production build.
Build - SSR
Use the npm run build:ssr-dev
for a development build.
Use the npm run build:ssr-beta
for a beta build.
Use the npm run build:ssr-prod
for a production build.
Run SSR
npm run serve:ssr
will run the last server build.
Webpack Analyzer
In order to analyze bundle size you can run npm run webpack-bundle-analyzer
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.