Changes between Version 3 and Version 4 of Web2


Ignore:
Timestamp:
Jan 2, 2014, 3:41:24 PM (11 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Web2

    v3 v4  
    66 
    77* Running and exploring semantic queries (both normal and context-sensitive queries) 
    8 * Prev-next style browsing of query results 
    98* Query construct assistant (auto-complete) 
    109* Persistent queries 
     
    1716 
    1817== Installation 
    19  
     18Actually, this interface is only a limited prototype, thus it has some extra restrictions, which are related to the used web browser. Due to the usage of web sockets, neither Internet Explorer nor Firefox are not supported. We only support Google Chrome and Safari. 
     19  
     20=== Yaws === 
    2021The web based UI is built upon the [http://yaws.hyber.org/ Yaws] web server. To be able to start this interface you need a Yaws web server installed. Installation help: http://yaws.hyber.org/yaws.pdf (see Chapter 2). 
    2122 
    22 * Recommended version: 1.92 
    23 * Required version: 1.89 or higher. 
     23* Required version: 1.95 
    2424 
    25   If you prefer using the 1.89 version of yaws, please use the -yaws_189 option during compilation: 
     25If you prefer using a different version of Yaws, please, use [wiki:WebInterface the old web based interface] of the tool. 
    2626 
    27 {{{ 
    28 bin/referl -build tool -yaws_189  
    29 }}} 
     27'''If Erlang/OTP-R16B01 or a newer version is used''', then none of the Yaws versions will be compiled from source. The problem is that every Erlang source of Yaws is compiled with the {{{-Werror}}} flag which causes build error when used with at least Erlang/OTP-R16B01 to compile Yaws. 
    3028 
    31 '''If Erlang/OTP-R16B01 is used''', then none of the Yaws versions will be compiled from source. The problem is that every Erlang source of Yaws is compiled with the {{{-Werror}}} flag which causes build error when used with Erlang/OTP-R16B01 to compile Yaws. 
    32  
    33 To fix this error, you should use this modified Makefile. Put [attachment:Makefile this Makefile] under the {{{src}}} directory of the downloaded sources of Yaws-1.96, then  execute {{{make clean}}}. After the execution, the standard build procedure should be followed which is shown in LocalInstallLinux page. 
     29To fix this error, you should use this modified Makefile. Put [attachment:Makefile:wiki:WebInterface this Makefile] under the {{{src}}} directory of the downloaded sources of Yaws, then  execute {{{make clean}}}. After the execution, the standard build procedure should be followed which is shown in LocalInstallLinux page. 
    3430 
    3531If Windows is used, then other opportunity exists. Use the installer binaries of different Yaws versions (Yaws-1.92 - Yaws-1.96) instead of compiling them from source. 
    36  
    3732 
    3833For a step-by-step installation tutorial, which is including the installation guide of Yaws, please see LocalInstallLinux. 
     
    6863  Path of the directory where the generated images (visualisation of dependency examinations) will be placed. 
    6964 
    70  * {{{restricted_mode RMODE}}} 
    71  
    72   If set the interface starts in restricted mode, which means some features are blocked for non-admin users. 
    73  
    74  
    7565=== Startup: referl script 
    7666 
     
    7969{{{ 
    8070bin/referl -web2 
    81            -yaws_path /Users/V/yaws-1.89/ebin  
     71           -yaws_path /Users/V/yaws-1.95/ebin  
    8272           -yaws_listen 127.0.0.1 
    8373           -yaws_port 8000 
     
    9484 
    9585ri:start_web2([ 
    96     {yaws_path,"/Users/V/yaws-1.89/ebin"}, 
     86    {yaws_path,"/Users/V/yaws-1.95/ebin"}, 
    9787    {yaws_listen,"127.0.0.1"}, 
    9888    {yaws_name, localhost}, 
    9989    {yaws_port,"8000"}, 
    10090    {browser_root,"/Users/V/erlang"}, 
    101     {images_dir,"/Users/V/graph_images"}, 
    102     {restricted_mode,true}]). 
     91    {images_dir,"/Users/V/graph_images"}]). 
    10392}}} 
    10493 
     
    116105 
    117106When someone starts/finishes a modification of the database (e.g. adding files), a notification will appear stating what process has been started/finished. 
    118 During any modification process most functions on the web interface will not be available. This restriction is global for the whole system. Only things available are: 
    119  
    120  * Browsing an already completed query's results (if source files were generated previously). 
    121  * Browsing files on the server. 
    122  
     107During any modification process most functions on the web interface will not be available. This restriction is global for the whole system.  
    123108For further information, see: [wiki:ConfigurableJobServer Configurable Jobserver] 
    124109