Changes between Version 11 and Version 12 of WebInterface
- Timestamp:
- Apr 3, 2012, 2:43:41 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInterface
v11 v12 47 47 48 48 == Starting up from !RefactorErl shell == 49 We have 2 functions for starting the interface : {{{ri:start nitrogen/0}}} and {{{ri:startnitrogen/1}}}. The 0 arity function starts up the interface with default configuration. The 1 arity function allows the interface to be configured using a prop-list. Available properties are the same as described in the previous section. Usage of switches is optional.49 We have 2 functions for starting the interface : {{{ri:start_nitrogen/0}}} and {{{ri:start_nitrogen/1}}}. The 0 arity function starts up the interface with default configuration. The 1 arity function allows the interface to be configured using a prop-list. Available properties are the same as described in the previous section. Usage of switches is optional. 50 50 Example: 51 51 {{{ … … 61 61 62 62 = Shutting down = 63 It is important to log out before shutting down the interface, because the log out process will delete the dynamicly generated images, which belong to the user. If the interface was started from !RefactorErl shell, then {{{ri:stop 63 It is important to log out before shutting down the interface, because the log out process will delete the dynamicly generated images, which belong to the user. If the interface was started from !RefactorErl shell, then {{{ri:stop_nitrogen().}}} can be called to shut down the interface. 64 64 65 65