Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
/ event-chain Public archive

LTO Network - Demo Event Chain worker and web service

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

ltonetwork/event-chain

Repository files navigation

LTO Network - Event Chain Service

See https://legalthings.github.io/livecontracts-specs/01-event-chain/

Requirements

Required PHP extensions are marked by composer

Installation

The LTO full node contains the workflow engine. See how to setup a node.

Alternatively; clone from GitHub for development

git clone git@github.com:legalthings/event-chain.git
cd event-chain
composer install
bin/codecept build

Tests

The code is analysed using PHPStan (static code analyses) and PHP Code Sniffer (coding style).

Before running the test for the first time run bin/codecept build.

Testing is done using the Codeception test framework. The project contains unit and api tests, plus tests for integration with workflow engine.

Do a full analysis and run tests with

composer test

Serve

To serve the project on localhost run

php -S localhost:4000 -t www

Note, it's preferable to work TDD and use tests when developing. This means you would hardly ever need to run this service localy.

About

LTO Network - Demo Event Chain worker and web service

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages