Orders management - Specifications
Starting the development
Requirements
To generate a workflow, you’ll need to have the following tools installed: Install yarn if you don’t have it already:Setup the project
Clone the repository and open it inOrders management - Repository
Generating the workflow
While developing, you’ll be generating in the staging environment. To generate the workflow, you’ll need to export theSU_PASSWORD environment variable in your terminal (or directly in your .<bash | zsh>rc file).
YOUR_NAME variable in the .env.local-to-staging file with your name.
Also, remove the “REPLACE_ME_AFTER_FIRST_GENERATION” from the WORKFLOWS variable and put an empty string.
To generate the workflow, run the following command:
When generating for the first time a workflow, you will create a new ID. This
ID will be displayed in the console. Copy this ID and use it to update the
WORKFLOWS variable in the .env.local-to-staging file. You’ll need to run
the generation command again for it to be fully functional.That’s it! You’ve generated your first workflow 🚀 Check it in the staging
environment at
https://trace.staging.stratumn.com/workflowoverview/your_workflow_id