system-admin-server
This system enables the remote designing of a server.
Install
To enable design mode on your node application, install the packages:
// install system runtime package$ npm install system-runtime --save // install admin package$ npm install system-admin-server --save
Then:
// require system runtimevar runtime = ; // install and start admin systemruntime; // install your system from here or create one // example // create a systemvar system = runtime; // add your code in the start method of the systemsystem; // start your systemsystemstart;
Design
- Launch System Designer,
- open the Configuration panel,
- select Server-side as value for Type of debugging,
- set
http://localhost
as value for Url of the server to debug, - click on the design button (the target icon),
- a panel A system has been found is shown
- click on OK.
The system running in node will be then imported in System Designer.
All your modifications to the current system in System Designer will be injected into the server.