Skip to content

barroz1996/NegZoVisBack

Repository files navigation

KarmaLegoWeb server

KarmaLegoWeb is a Temporal Data Mining project. Today, to extract Time Interval Related Patterns (TIRPs) from massive data, a researcher is required to use several applications and possess highly technical programming knowledge. KarmaLegoWeb simplify this process into a single web application where every user can upload time-based data, extract unique patterns, analyze it from several different angles using advanced visual tools and share it findings with the world. The client of this project is Dr. Robert Moskovitch and CDALab Laboratory. The project goal is to create an all-in-one time-based data mining platform that presents the use of time-based algorithms in an efficient, simple, fast, and stable way. Our system has been introduced to the laboratory and aid to various studies. The solution chosen is to create a web application that provides a simple and accessible UI to technical aspects of using time-based template mining. By creating the project, we used many technologies such as Python, Flask, React, Apache and more. In the project we faced many challenges, including design and create a server and client-side application, generate a visualization module which can display the algorithm output in interactive way, with this output the user can generate new insights. In addition, we integrated several lab projects (thousands of code lines written in different languages) Into one web app. We achieved all the defined goals and today the system is available at the following link[1]: https://icc.ise.bgu.ac.il/njsw22

Requirements:

  • python version 3.9

Required dependencies can be found in the requirements.txt file:

  • Flask
  • Flask-Cors
  • Flask-SQLAlchemy
  • pandas
  • PyJWT
  • pyodbc
  • scipy
  • scikit-learn

Installation

> pip install -r requirements/dev.txt

Running:

In CMD:

	> set FLASK_APP=karmalegoweb
    > set FLASK_ENV=development
    > flask init-db
    > flask run -p 443

In production

> pip install -r requirements/prod.txt

Before running in production, create a new secret key like this:

$ python -c 'import secrets; print(secrets.token_hex())'
'192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf'

and put the key in the configuration in karmalegoweb/init.py.

In production put your website in karmalegoweb/client, inside a build directory so that karmalegoweb/client/build/index.html is the main page.

  • The .env file is in the Apache folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published