mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 16:17:17 +00:00
Rename event_handlers.conf for coherency
This commit is contained in:
parent
e5056e3ee1
commit
cf8a9d7e81
@ -185,7 +185,7 @@ It also manages the FSM.
|
|||||||
As you can see this file is set up to start with the container in `solvable/supervisor/tfw_server.conf`.
|
As you can see this file is set up to start with the container in `solvable/supervisor/tfw_server.conf`.
|
||||||
|
|
||||||
`event_handler_main.py` contains example usage of our pre-defined event handlers written in Python3.
|
`event_handler_main.py` contains example usage of our pre-defined event handlers written in Python3.
|
||||||
As you can see they run in a separate process (set up in `solvable/supervisor/event_handlers.conf`).
|
As you can see they run in a separate process (set up in `solvable/supervisor/event_handler_main.conf`).
|
||||||
These event handlers could be implemented in any language that has ZMQ bindings.
|
These event handlers could be implemented in any language that has ZMQ bindings.
|
||||||
|
|
||||||
Note that you don't have to use all our event handlers.
|
Note that you don't have to use all our event handlers.
|
||||||
@ -204,7 +204,7 @@ When creating your own challenge the process should be the following:
|
|||||||
- Set it up to run: `solvable/supervisor/tfw_server.conf`
|
- Set it up to run: `solvable/supervisor/tfw_server.conf`
|
||||||
4. Create event handlers connecting to the `TFWServer` handling events you want to process:
|
4. Create event handlers connecting to the `TFWServer` handling events you want to process:
|
||||||
- Create an event handler server: `solvable/src/event_handler_main.py`
|
- Create an event handler server: `solvable/src/event_handler_main.py`
|
||||||
- Set it up to run: `solvable/supervisor/event_handlers.conf`
|
- Set it up to run: `solvable/supervisor/event_handler_main.conf`
|
||||||
5. Modify the frontend in `solvable/frontend` to fit your challenge
|
5. Modify the frontend in `solvable/frontend` to fit your challenge
|
||||||
- This usually involves using our pre-made components
|
- This usually involves using our pre-made components
|
||||||
- And perhaps doing some of your own stuff, like:
|
- And perhaps doing some of your own stuff, like:
|
||||||
|
Loading…
Reference in New Issue
Block a user