Skip to content

weso/wikishape

Repository files navigation

Wikishape

React web client for RDFShape API used to operate the API in a human-friendly way. Differs from RDFShape Client in that it is more limited and made for operating Wikidata and Wikibase instances.

It also features software from WESO such as sheXer.

Continuous Integration Docker build

Deployed versions of Wikishape

This client is already deployed here.

Quick reference

Installation

Deploy locally

Steps

  1. Clone this repository
  2. Go to directory where RDFShape Client source code is located
  3. Install dependencies via npm install
  4. Start a development server via npm start
  5. When ready, build the app for production with npm run build. The ouput will be located in the build folder

This app was bootstrapped via Create React App, refer to their website to learn more.

Deploy with Docker

Building the image

  • No build arguments are required. The client will be exposed on container 80 of the future containers.

Running containers

  • When running a container, you may provide the following environment variables via --env:
    • RDFSHAPE_HOST [optional]: Location where this client will look for the RDFShape API. Defaults to our current deployment at https://api.rdfshape.weso.es.
    • SHEXER_HOST [optional]: Location where this client will look for the sheXer API. Defaults to our current deployment at http://156.35.94.158:8081/shexer.

Supported tags

  • :stable: Stable build updated manually.
  • <:hashed_tags>: Automated builds by our CI pipeline. With the latest features uploaded to our repository but lacking internal testing.

Contribution and issues

Contributions are greatly appreciated. Please fork this repository and open a pull request to add more features or submit issues: