flecs-hub/flecs-systems-admin

Noob question, got the ecs_collision example to build. But how to view ecs on flecs-system-admin

Opened this issue · 2 comments

Hello, I've got the all of the flecs-* modules to build but really don't know how to get flecs-systems-admin to display on localhost: , what port is it displaying on? When I run the ecs_collision example is it starting up the webserver portion of flecs-systems-admin?

Is there a wiki or manual for the flecs-systems-admin?
I see the code has ecs_os_dbg("admin: starting server on port %u", admin[i].port);
howto set admin[i].port?

@DavidLeeEvans the ecs_collisions example uses the ecs_init_w_args function which accepts arguments that start the admin. Try adding the following command line arguments:

ecs_collisions --admin 9090

That starts the admin on port 9090. Note that you will also need to build the modules required for the admin, which are: