Skip to content

Visualization Frontend for a Data Object Driven Implementation of a Car Rental Choreography

Notifications You must be signed in to change notification settings

data-driven-choreographies/Car-Rental-Choreography-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Choreography Frontend

Screencast

A screencast of the running project can be downloaded here.

Installation

Ganache

sudo npm install ganache-cli -g

Truffle

sudo npm install -g truffle

Build Project

Init truffle project in new folder (truffleproject/):

truffle init

Add contract to contracts/ folder and migration (2_deploy_contracts.js) to migrations/ folder. An example for a complete truffle project can be found here.

Compile contract:

sudo truffle compile

Start local blockchain in a new terminal:

ganache-cli

Adapt configuration in truffle-config.js according to output of ganache-cli. Set the used port as shown in ganache-clis output.

Migrate contract:

sudo truffle migrate

Create symlink for the smart contracts:

ln -s ./truffleproject/build/contracts ./Car-Rental-Choreography-Visualization/src/contracts

Execution

Start a local blockchain with:

npm start

About

Visualization Frontend for a Data Object Driven Implementation of a Car Rental Choreography

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published