ankraft / ACME-oneM2M-CSE

An open source CSE Middleware for Education.
https://acmecse.net/
BSD 3-Clause "New" or "Revised" License
23 stars 16 forks source link

is it possible to run the webui and the CSE on different machines? #73

Closed Spongman closed 3 years ago

Spongman commented 3 years ago

is it possible to run the webui and the CSE on different machines?

ankraft commented 3 years ago

The web UI can be accessed from another machine. For this the CSE's http server must bind to a public interface. The default is 127.0.0.1 (local loopback). You can change this in the configuration file in the [server.http] section.

If you mean whether the web UI can be served from another machine: no, not yet, but we have a task in the backlog to move the web UI part to a separate application.

ankraft commented 3 years ago

Update: You can now run the web UI independently from the CSE. In the "development" branch, go to the directory "webui" and run the application webUI.py . You need to specify the host and port of the CSE you want to connect to on the command line; see "-h" command line option for all the configuration options.