Skip to content

vemonet/bio2rdf-website

 
 

Repository files navigation

Bio2RDF website

Deploy to GitHub Pages CodeQL analysis

RDF browser for Bio2RDF written in TypeScript, using React, deployed to GitHub Pages.

See the documentation of the Bio2RDF project for more details: https://github.com/bio2rdf/bio2rdf-scripts/wiki

👨‍💻 Contribute

Contributions are welcome! See the guidelines to contribute.

🏗️ Run in development

Requirements: npm and yarn installed.

Clone the repository:

git clone https://github.com/vemonet/bio2rdf-website
cd bio2rdf-website

Install dependencies 📥

yarn

Run the web app in development at http://localhost:19006

yarn dev

The website should reload automatically at each changes to the code 🔃

Upgrade the packages versions in yarn.lock

yarn upgrade perfect-graph unitx-ui unitx

🛩️ Run in production

This website is automatically deployed by a GitHub Actions worklow to GitHub Pages at https://vemonet.github.io/bio2rdf-website

You can build locally in /web-build folder and serve on http://localhost:5000 📦

yarn build
yarn serve

Or run directly using Docker 🐳 (requires docker installed)

docker-compose up

Checkout the docker-compose.yml file to see how we run the Docker image.

🔎 Virtuoso search query

Optimized SPARQL query to perform full text search in Virtuoso after building the index:

SELECT ?foundUri ?foundLabel WHERE {?foundUri <http://www.w3.org/2000/01/rdf-schema#label> ?foundLabel . ?foundLabel bif:contains '$TEXT_TO_SEARCH' . } LIMIT 200

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Other 1.3%