Sympozer front-end app V2
Sympozer is a full client side mashup Web application that allows browsing and enriching conference data. Learn more about Sympozer at http://sympozer.liris.cnrs.fr/ .
In 2017, the app architecture has been completely refactored:
- The conference dataset now follows the ScholarlyData ontology and has been issued using cLODg (conference Linked Open Data generator) V2.
- Its core engine is based on RDF data (instead of JSON), internally served using the rdflib.js library and queried in SPARQL.
- Users can create their account, enrich their personal information and participate in the votes
This project was generated with angular-cli version 1.6.6.
Install Git & Npm
then run :
git clone https://github.com/sympozer/sympozer-client-seed-v2
npm install -g typescript protractor @angular/cli
Do the Hack broken dependency stuff described below
ng serve --aot
Hack broken dependency
There is a missing dependency in the XMLHttpRequest module, which is itself a dependency of other modules. To solve that, browse to
node_modules/xmlhttprequest/lib/XMLHttpRequest.js and comment the following lines:
Line 15- var spawn = require("child_process").spawn;
Line 503- var syncProc = spawn(process.argv, ["-e", execString]);
Line 509- syncProc.stdin.end();
ng serve --aot for a dev server. Navigate to
http://localhost:4200/. The app will reload automatically if you change any of the source files.
ng build to build the project and deploy on a static server. The build artifacts will be stored in the
-prod option for a production build and
-bh to set up the base hash that will be included in the index.html file (see examples in
In case you define commands in
app/package.json, run them using
npm run <commandName>.
ng generate component component-name to generate a new component. You can also use
ng generate directive/pipe/service/class.
Running unit tests
ng test to execute the unit tests via Karma.
Running end-to-end tests
ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via
Deploying to Github Pages
ng github-pages:deploy to deploy to Github Pages.
To get some more help on the
ng --help or check out the Angular-CLI README.