Giter VIP home page Giter VIP logo

cohort-analysis-dashboard's Introduction

Cohort-Analysis-Dashboard

A Tool for Cohort Based Process Analysis powered by PM4PY

Developers

Setting up local Virtual Environment

  1. To create a new environment: conda create --name [env-name] django

  2. To activate the environment specified above: conda activate [env-name]

  3. To deactivate the environment : conda deactivate

Note: You can check the existing env by running conda env list

Starting the application

  1. Installing necessary project dependencies:

    python3 -m pip install -r requirements.txt

  2. In order to start the application, you can use:

    python manage.py runserver

  3. You application is up and running. Navigate to http://127.0.0.1:8000/ to start using CAD

Linters and Fixes

  1. CAD is using flake for detecting basic lint issues. You can find all lint constraints by running: flake ./

  2. Most lint issues, such as incorrect indentations, can be fixed by black library. Just run black ./

  3. The rest of the mising lint issues will have to be fixed manually

  4. Additionally, it's possible to get a detailed overview and rating of each module

    Run pylint ./{directory-name}

NOTE: pylint and black are following pep8 styling standard.

Running the Unit Tests

You can trigger the unit tests of an application by running python manage.py test E.g. python manage.py test log_management

Running CAD in a Docker container

  1. Navigate to the root of the folder (Hint: where Dockerfile is located)

  2. Create a CAD Docker image by running docker build --tag cad .

  3. Start CAD in a container using docker run --publish 8000:8000 cad

  4. You should be able to access CAD on http://127.0.0.1:8000/

cohort-analysis-dashboard's People

Contributors

aloterraner avatar bitsch avatar mamunsse avatar kgiouzakov avatar komputergreek avatar commonalgomember avatar

Stargazers

 avatar

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.