Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to run Rogo ExamSys on Windows using IIS

Prerequisites

  1. You must have the World Wide Web Services and Web Management Tools enabled via Windows featuresIt is recommended you have the Microsoft Web Platform Installer

  2. Install PHP manager

  3. Download any versions of PHP you wish to test with

  4. Install MySQL

  5. Have a local Rogo ExamSys git repository with the develop branch checked out

Using the Web platform installer install the following:

  1. PHP (Any versions you wish you wish to test Rogo with)Use PHP Manager to select the versions of PHP you wish to use.

Setup web server

  1. Open the Internet Information Services (IIS) Manager tool

  2. Right click on the Default Web Site and select Add Virtual Directory

  3. Enter an alias (for example rogoexamsys) and set the physical path to be the directory your local Rogo ExamSys repository

  4. In the Default Web Site click on the Bindingsā€¦ action and add a http port on 8001 (you can then use that port to run behat tests)

  5. Select the rogo ExamSys directory that will not be showing up and open the PHP Manager

  6. Ensure that the version of PHP you need for Rogo ExamSys is selected

  7. Configure error reporting to be Development machine

  8. Ensure that the extensions that Rogo ExamSys requires are enabled

XDebug

...

Code Block
[XDEBUG]
zend_extension=php_xdebug-youyour.version.details.dll
xdebug.remote_enable=on
xdebug.xdebug.remote_port=9000
xdebug.remote_host=localhost
xdebug.remote_autostart=off

...

It is recommended to use a manager for npm such as nvm for Windows after you have installed it run the following set of commands:

Code Block
nvm install 6.1417.150
nvm use 6.1417.150

You should replace the version numbers above with what ever the most current supported version of npm is for RogoExamSys

Composer

Download the latest version of composer into the root directory of RogoExamSys.

Install

...

ExamSys

Before you can install Rogo ExamSys you will need to run several things to ensure all the dependencies are downloaded.

...

The following can be used to create a batch script to do it (you will want to run this every time you pull new updates into RogoExamSys)

Code Block
languagepowershell
@echo off
echo Setting up development environment...
echo RogoExamSys NPM:
call npm install

echo RogoExamSys composer:
call php composer.phar install

echo Tiny MCE:
cd plugins/texteditor/plugin_tinymce_texteditor
call npm install
cd ../../..

echo Grunt:
call grunt

echo RogoExamSys development setup complete.

You will now be able to follow the normal Rogo ExamSys installation procedure (assuming you used the suggested virtual directory) by going to http://localhost/rogoexamsys/install, or you can use the command line installer

...