Git Product home page Git Product logo

OpenCompare

Join the chat at https://gitter.im/gbecan/OpenCompare Build Status

This project contains development artifacts used to perform research around product comparison matrices (PCM). This work is currently involving members of the DiverSE (DIVERsity-centric Software Engineering) research team as well as students at University of Rennes 1 (ISTIC).

This project is released under Apache v2 License.

Development tools

Frameworks and dependencies

Projects

This github repository contains several projects :

  • api-java: Java interface to the PCM API
  • api-java-impl: Java implementation of the API
  • model: contains the PCM metamodel, takes care of code source generation for the API
  • dataset-best-buy: builds datasets from BestBuy.com
  • dataset-wikipedia: builds datasets from Wikipedia
  • io-wikipedia: parses Wikipedia pages and creates PCMs
  • io-best-buy: parses BestBuy.com and creates PCMs
  • play-app: contains OpenCompare website (Play server)

Getting started

Install

First, make sure your JAVA_HOME environment variable is set to the location of a JDK version 8 or later. Then execute the following (On Windows avoid specials chars from filepath like : C:/Users/François/OpenCompare) :

git clone https://github.com/OpenCompare/OpenCompare.git
cd OpenCompare/org.opencompare
export PLAY2_HOME=play-app
mvn clean install

You can also use this option to skip tests:

mvn clean install -DskipTests

You can also permanently set the PLAY2_HOME environment variable by adding the following to the .bashrc file in your /home directory:

export PLAY2_HOME=/.../OpenCompare/org.opencompare/play-app/

If you wish to use your own installation of Play, export the relevent path in PLAY2_HOME.

Start the server

To launch the Play application (basically the OpenCompare website), change directory to org.opencompare/dataset-wikipedia and run:

mvn test -PbuildDataset

Then, go to org.opencompare/play-app and execute the following command to populate the database (be sure to have a MongoDB server running through mongod):

./activator test

Finally, or if you already have populated the database, you can launch the HTTP server:

./activator run

Use website

Now the server is running, you can connect on:

Reset the database

To remove all the PCMs from the database, you have to connect to your MongoDB instance and remove all the elements of the pcms collection in the opencompare database, as in the following commands:

mongo

use opencompare

db.pcms.remove({})

Other repositories

We have other repositories and sub-projects:

  • getting-started (for using the Java API)
  • editor (JavaScript, deprecated, now integrated)
  • data-importers (for importing PCMs from various sources: opendata API, tabular data, unstructured data, etc.)

OpenCompare's Projects

OpenCompare doesn’t have any public repositories yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.