Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 1.86 KB

README.md

File metadata and controls

60 lines (53 loc) · 1.86 KB

Standalone Browser Component of Safe-Exam-Browser

See: http://www.safeexambrowser.org

OS Support

  • Windows 32/64Bit
  • Linux 32/64Bit

Requirements

Download the latest xulrunner runtime for your OS from: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/

Create a folder structure for the xulrunner runtime(s) like that:

+ seb (git repository)
- xulrunner
   | - win (shared binary for 32 and 64Bit)
   |     | - xulrunner (p.e. unzipped xulrunner-20.0.en-US.win32.zip)
   |     |    | * 
   | - linux
   |     | - 32
   |     |    | - xulrunner (p.e. unzipped xulrunner-20.0.en-US.linux-i686.tar.bz2)
   |     |    |    | *    
   |     | - 64
   |     |    | - xulrunner (p.e. unzipped xulrunner-20.0.en-US.linux-x86_64.tar.bz2)
   |     |    |    | *

The start scripts must point to an executable xulrunner binary.

- seb (git repository)
   | - browser
   |    |  - bin 
   |	|     |  - linux
   |    |     |      | + 32
   |	|     |      | - 64
   |	|     |      |    | start.sh
   |	|     |      |    | start_debug.sh
   |	|     |      |    | start_demo.sh
   |	|     |      |    | ....
   |	|     |  - win	
   |	|     |      | start.bat
   |	|     |      | start_debug.bat
   |	|     |      | start_demo.bat
   |	|     |      | ....
+ xulrunner

For demo mode including the screenshot component (pre alpha) you need to install node.js (http://nodejs.org/). After installing node.js you need to install some node modules:

npm install -g fs-extra binaryjs express serve-static serve-index ws

Switch to seb/server/ folder and type:

server.sh (Linux) or server.bat (Windows)

If you get an error message that node can not find the modules try to set an environment variable in ~/.bashrc or ~/.profile p.e.: export NODE_PATH=/usr/lib/node_modules