Skip to content

Latest commit

 

History

History

test-output

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

test-output

Sequence that just writes random values to output stream.

💡 Please note that the sample below requires some previous installations before you start running it, you will find them here.

Running

Open two terminals and run the following commands:

The first terminal:

# start sth
scramjet-transform-hub

The second terminal

# go to 'test-output' directory
cd samples/test-output

# install dependencies
npm install

# go back to samples/ directory
cd ../

# deploy 'hello' Sequence
si seq deploy test-output

# See output of Instance process
si inst output -

💡NOTE: Command deploy performs three actions at once: pack, send and start the Sequence. It is the same as if you would run those three commands separately:

si seq pack . -o test-output.tar.gz    # compress 'test-output/' directory into file named 'test-output.tar.gz'

si seq send test-output.tar.gz    # send compressed Sequence to STH, this will output Sequence ID

si seq start -    # start the Sequence, this will output Instance ID

Output

Test 6
Test 0
Test 5
Test 4
Test 9
Test 2
Test 3
Test 4
Test 0
Test 2
Test 2
...