Class SetupInterface
Class dedicated to the setup part of the administrative interface
class SetupInterface
;
When a user starts the node with the --initialize
argument,
the node enters the 'setup' phase: instead of normally starting,
this interface listens on 127.0.0.1:2827 for connection,
and guide the user through a setup process.
Once the setup process is complete, the config file is written to disk, and the user can restart Agora through the regular booting process.
Constructors
Name | Description |
---|---|
this
(config_path)
|
Fields
Name | Type | Description |
---|---|---|
log
|
Logger | Logger instance |
Methods
Name | Description |
---|---|
start
(url)
|
Start listening for requests |