Changes between Version 12 and Version 13 of Web2


Ignore:
Timestamp:
Oct 10, 2023, 10:33:11 PM (14 months ago)
Author:
tothm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Web2

    v12 v13  
    7878=== Startup: !RefactorErl shell 
    7979 
    80 We have two functions for starting the interface : {{{ri:start_web2/0}}} and {{{ri:start_web2/1}}}. Without passing any parameters the web server starts up with the default configuration. The 1-arity function allows the interface to be configured using an [http://www.erlang.org/doc/man/proplists.html Erlang proplist]. Example: 
    81 {{{ 
    82 #!erlang 
    83  
    84 ri:start_web2([ 
     80We have two functions for starting the interface : {{{ri:start_web/0}}} and {{{ri:start_web/1}}}. Without passing any parameters the web server starts up with the default configuration. The 1-arity function allows the interface to be configured using an [http://www.erlang.org/doc/man/proplists.html Erlang proplist]. Example: 
     81{{{ 
     82#!erlang 
     83 
     84ri:start_web([ 
    8585    {yaws_path,"/Users/V/yaws-1.95/ebin"}, 
    8686    {yaws_listen,"127.0.0.1"}, 
     
    9696#!erlang 
    9797 
    98 ri:start_web2([ 
     98ri:start_web([ 
    9999    {browser_root, ["/Users/V/erlang", "/Users/V/project"]}]). 
    100100}}} 
     
    103103== Shutting down 
    104104 
    105 You are advised to always log out before shutting down the web server, because the log-out process deletes temporary, dynamically generated components of web pages. If the server has been started from the !RefactorErl shell, then {{{ri:stop_web2()}}} should be called in order to shut down the service. 
     105You are advised to always log out before shutting down the web server, because the log-out process deletes temporary, dynamically generated components of web pages. If the server has been started from the !RefactorErl shell, then {{{ri:stop_web()}}} should be called in order to shut down the service. 
    106106 
    107107