- First install necessary node modules. Run
npm install
in OIS-Project and OIS-Project/backend. - Be sure that your mysql server up & running
- Check OIS-Project/backend/server.js file. Be sure that mysql parameters are correct (dbname, password, ...)
- To run the node server
node server.js
while you are in backend. Our server runs on localhost 8000 port. If you want you can change the port. - To run Angular front-end check below.
- Be sure that backend and frontend running in different console.
You can find ontologies we use in our application ontologies
folder. We use Jena-Fuseki and Jetty server to query ontologies. Check jetty
folder and read.me file for more info.
To run Jena-Fuseki, go to Jena-Fuseki folder you installed and execute ./fuseki-server --update --mem /{YOUR-SERVER_NAME}
.
This project was generated with Angular CLI version 7.0.6.
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Please use TSLint and Prettier