Changes between Version 14 and Version 15 of WebInterface
- Timestamp:
- Apr 16, 2012, 4:56:15 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInterface
v14 v15 16 16 17 17 = Installation = 18 To be able to use the web based interface we need to have an already working Yaws webserver. Required version is 1.89. Help for the installation: http://yaws.hyber.org/yaws.pdf (Chapter 2). 18 To be able to use the web based interface we need to have an already working Yaws webserver. Help for the installation: http://yaws.hyber.org/yaws.pdf (Chapter 2). Recommended version is 1.92, but the minimum required version is 1.89 or higher. If you prefer using the 1.89 version of yaws, the -yaws_189 switch must be used during compilation: 19 20 {{{ 21 bin/referl -build tool -yaws_189 22 }}} 19 23 20 24 … … 49 53 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 54 Example: 51 {{{ 55 {{{#!erlang 52 56 ri:start_nitrogen([ 53 57 {yaws_path,"/Users/V/yaws-1.89/ebin"},