Changes between Version 3 and Version 4 of Web2
- Timestamp:
- Jan 2, 2014, 3:41:24 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Web2
v3 v4 6 6 7 7 * Running and exploring semantic queries (both normal and context-sensitive queries) 8 * Prev-next style browsing of query results9 8 * Query construct assistant (auto-complete) 10 9 * Persistent queries … … 17 16 18 17 == Installation 19 18 Actually, 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 === 20 21 The 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). 21 22 22 * Recommended version: 1.92 23 * Required version: 1.89 or higher. 23 * Required version: 1.95 24 24 25 If you prefer using the 1.89 version of yaws, please use the -yaws_189 option during compilation: 25 If you prefer using a different version of Yaws, please, use [wiki:WebInterface the old web based interface] of the tool. 26 26 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. 30 28 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. 29 To 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. 34 30 35 31 If 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 37 32 38 33 For a step-by-step installation tutorial, which is including the installation guide of Yaws, please see LocalInstallLinux. … … 68 63 Path of the directory where the generated images (visualisation of dependency examinations) will be placed. 69 64 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 75 65 === Startup: referl script 76 66 … … 79 69 {{{ 80 70 bin/referl -web2 81 -yaws_path /Users/V/yaws-1. 89/ebin71 -yaws_path /Users/V/yaws-1.95/ebin 82 72 -yaws_listen 127.0.0.1 83 73 -yaws_port 8000 … … 94 84 95 85 ri:start_web2([ 96 {yaws_path,"/Users/V/yaws-1. 89/ebin"},86 {yaws_path,"/Users/V/yaws-1.95/ebin"}, 97 87 {yaws_listen,"127.0.0.1"}, 98 88 {yaws_name, localhost}, 99 89 {yaws_port,"8000"}, 100 90 {browser_root,"/Users/V/erlang"}, 101 {images_dir,"/Users/V/graph_images"}, 102 {restricted_mode,true}]). 91 {images_dir,"/Users/V/graph_images"}]). 103 92 }}} 104 93 … … 116 105 117 106 When 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 107 During any modification process most functions on the web interface will not be available. This restriction is global for the whole system. 123 108 For further information, see: [wiki:ConfigurableJobServer Configurable Jobserver] 124 109