Skip to content
Open Source visualizing tool for differencing algorithms.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
public
sampledata
scripts
server
src
test
.dockerignore
.eslintrc.json
.gitignore
.tern-project
.travis.yml
Dockerfile
README.md
ecosystem.config.js
package-lock.json
package.json
webpack.config.js

README.md

DiffVisualizer

Version Build Status

Installation

via NPM

  • Clone repo
  • npm install
  • Change Config (See "Configuration")
  • npm start
  • Visit localhost:9999 (or change port in config/default.json)

via Docker

  • Clone repo
  • Change Config (See "Configuration")
  • Run bash ./scripts/docker-build (needs git bash/native bash on Windows) or build and tag an image yourself
  • Run the generated image

Development

If you are actively changing things in the src folder:

  • npm run dev (autocompiles on change, server autorestarts on save)
  • Visit localhost:9999

Configuration

Before starting the application/building a docker container of it, it is important for some config values to be adjusted. Just open config/default.json or a copy of it and adjust the follwing values:

  • auth
    • user : GitHub Username of the user to authenticate the API, to use no authentication remove the auth object
    • pass : Token of the GitHub User to authenticate. Generate one at https://github.com/settings/tokens and make sure to restrict access to public / private repositories.

Following values can, but don't need to be changed:

  • server
    • port : The port that the web-application will be running on
  • client
    • apibase: The URL of the webservice that will be used to generate diffs

Docker

to build an up to date tagged version of this Application as a docker container you just have to run

npm run docker-build

and to push it to the private registry (swdyn.isys.uni-klu.ac.at:5000)

npm run docker-push

and to combine those two things just run npm run deploy

You can’t perform that action at this time.