Running a Project
Once you added applets deployed to a W3bstream project, just run them by clicking the
Start
button for each module you want to be running for the project:
Before we can send messages to the W3bstream node, we should make sure a Publisher Account is set, and an Event Strategy is in place.

Select the Project, give a name to the publisher and assign it a unique key like in the image below. Then click the
Submit Button
to confirm:
When deploying a logic module to a project, W3bstream configures a default event strategy that just routes any event to the module's start handler. To learn more about event strategies, check out the event strategies section.
To test this simple logic, we can use the W3bstream Studio interface itself to send a message to the node over HTTP.
Click the HelloW3bstream project in the side panel, and click the
Send Event
button:
In the Send Event dialog, select the publisher account, then edit the message payload value and make it "Hello W3bstream!"

Click the Submit Button to send the event to the W3bstream node, then check the W3bstream docker log to see that the event has been detected by the node and routed to the HelloW3bstream project:

Last modified 4mo ago