Skip to content

chlupnoha/s-pipes-editor-ui

Repository files navigation

SPipes-UI editor

Building

$ npm install

IMPORTANT - facebook/create-react-app#10811. The [email protected] version is required and npm update --force command.

Will create a dist directory containing your compiled code.

Depending on your needs, you might want to do more optimization to the production build.

Basic info

Run development server

$ npm run dev

Dockerization

The docker image of SPipes Editor UI can be built by docker build -t s-pipes-editor-ui .

Then, SPipes Editor UI can be run as docker run -e SERVICE_URL=<SPIPES_BACKEND_URL> -p 3000:80 s-pipes-editor-ui
where <SPIPES_BACKEND_URL> denotes the URL where SPipes backend is running.

Docker-compose

The docker image of SPipes Editor UI can be built by docker build -t s-pipes-editor-ui .

The docker-compose is composed of 4 services and can be ruin via docker-compose up:

  • chlupnoha/s-pipes-editor-ui:latest - repository - accessible on http://localhost:3000
  • chlupnoha/s-pipes-editor-rest:latest - repository - accessible on http://localhost:18115
  • chlupnoha/spipes-engine:latest - repository - accessible on http://localhost:8081
  • eclipse/rdf4j-workbench:amd64-3.5.0 - official docker image - accessible on http://localhost:8080/rdf4j-workbench

Manual required steps:

  • s-pipes-engine

    • The service does not automatically create the repository in RDF4J, so manual creation of a repository is required.
    • The logging configuration for RDF4j is hardcoded in the image, but it could override via _pConfigURL param. However, it is not a convenient format to work. Also both servies must to share volume or the config has to be exposed.
  • Notes

    • volumes of /tmp:/tmp is currently required for sharing configuration for module debug
    • volumes of /home:/home is currently required for sharing the scripts
    • volumes of /usr/local/tomcat/temp/ is currently required for sharing execution logs

GitHub Logo Architecture images

Note

Skeleton is from - React Starter Boilerplate with Hot Module Replacement and Webpack 4

###License Licensed under GPL v3.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages