nikita-dorodnykh/eeteditor

Web-based visual event tree modeling editor

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Language:JavaScript

Type:project

v1.0 2021-06-11 12:19 UTC

README

Extended Event Tree Editor


Extended Event Tree Editor (EETE) is a web-based tool for building Extended Event Tree Diagrams (EETD).

EETE is based on PHP 7 and Yii 2 Framework.

Editor uses jsPlumb Toolkit, version 2.12.9 for EETD visualization.

Latest Stable Version Total Downloads Build Status

DIRECTORY STRUCTURE

  assets/             contains assets definition
  commands/           contains console commands (controllers) for creation lang, user and EETDs by default
  config/             contains application configurations
  modules/            contains two modules:
      editor/         contains main controllers, models and views for EETE
      main/           contains views for representation main index, contact and error views:
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 7.0, jsPlumb 2.12, PostgreSQL 9.0.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this editor using the following command:

composer create-project nikita-dorodnykh/eeteditor

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'pgsql:host=localhost;port=5432;dbname=eeteditor;',
    'username' => 'postgres',
    'password' => 'admin',
    'charset' => 'utf8',
    'tablePrefix' => 'eeteditor_',
    'schemaMap' => [
        'pgsql'=> [
            'class'=>'yii\db\pgsql\Schema',
            'defaultSchema' => 'public'
        ]
    ],
];

NOTES:

  • EETE won't create the database for you, this has to be done manually before you can access it.
  • Check and edit the other files in the config/ directory to customize your application as required.