React-based visualization of bibliographic metadata. This project is part of the Hamburg Open Science Schaufenster project.
In the project directory, you can run:
Install project dependencies to node_modules directory. Uses yarn.lock file.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Lints styled components with stylelint
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
The project expects a .env
file with four environment variables.
Raster tiles path, which is used by mapbox-gl-js
Public path in TYPO3 enviroment
Points to the remote development server. Used to link from the graph visualization to the discovery search results page.
Path of the Apache Solr JSON API, i.e. /solrQuery
This project uses Open Sans typeface. The font files are not included in the repository, but can be downloaded with the Google Webfonts Helper. The files need to be located inside the src/fonts
directory.
In order to use the typeface in the map, the font files need to be encoded. This can be done with node-fontnik. The .pbf need to be located inside the public
directory.
The app was bootstrapped with Create React App.
HOS-Metadata-Visualisation is open source software licensed as MIT.