Creating a New Python App
If you haven't already, you'll first need to set up your development environment and ensure you have a Grainite server running (can be running locally in a Docker container).
1. Develop your Application
Create your Application Config File
Here you would configure your application in a YAML file. You may use App Configuration Options as a reference.
Implement the Application Logic
Implement your action handlers, client programs, and any other parts of your app's functionality. You may use the API pages here or the Grainite Pydocs for reference.
2. Load the Application
Load the application onto the Grainite server from the app's main directory.
4. Run the load
Run your client program to send events to the application.
5. Observe the Application
Print all events in the topic:
gx topic dump <topic name>
Print all grains in the table:
gx table dump <table name>
Refer to the GX CLI document for more in-depth information about gx
.
Last updated