Skip to content

Latest commit

 

History

History
executable file
·
58 lines (44 loc) · 2.24 KB

README.md

File metadata and controls

executable file
·
58 lines (44 loc) · 2.24 KB

Linked Open Vocabularies (LOV) - frontEnd

This is the BigDataOcean Metadata Docker Repository (based on LOV) and this is the BigDataOcean Metadata Repository web page. LOV provides a choice of several hundreds of such vocabularies, based on quality requirements including URI stability and availability on the Web, use of standard formats and publication best practices, quality metadata and documentation, identifiable and trustable publication body, proper versioning policy.

LOV uses lovScripts for backoffice scripts such as the aggregator and other scripts.

Also LOV uses QA4LOV for backoffice scripts such as the aggregator and other scripts.

Install

NOTE: You need to have node.js, mongodb and elasticsearch installed and running.

  $ git clone git://github.com/EIS-Bonn/lov.git
  $ npm install
  $ cp config/config.example.js config/config.js
  $ npm start

NOTE: Do not forget to update the various configuration fields in config/config.js. db points to your mongodb database e.g. mongodb://localhost/lov es and elasticsearch (used by two different node modules to connect to elasticsearch) point to your elastic search instance email.auth is used to send email notification to administrators for curation of the database

You need to populate the database with certain files if you want to be able to use the edition. For that use the files in the folder /setup

Then visit http://localhost:3000/

  $ mongoimport -d bdo -c agents --file .\agents.json
  $ mongoimport -d bdo -c languages --file .\languages.json
  $ mongoimport -d bdo -c stattags --file .\stattags.json

Directory structure

-app/
  |__controllers/
  |__models/
  |__mailer/
  |__views/
-config/
  |__routes.js
  |__config.js
  |__passport.js (auth config)
  |__express.js (express.js configs)
  |__configPath.js (some global variables configs)
  |__middlewares/ (custom middlewares)
-lib/
-public/
-setup/

License

LOV code and dataset are licensed under a Creative Commons Attribution 4.0 International License.