Versions Compared

Key

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

...

Warning

Not for production environments yet.

If you do not fancy using Vagrant for development you can try out our experimental docker containers.

Requirements

Docker

Docker Compose

Rogo ExamSys Docker

Running

See the readme file in the rogo ExamSys docker repository for full details.

Quick start

...

Start up the rogo ExamSys docker containers

Code Block
languagebash
export ROGOEXAMSYS_DOCKER_WWWROOT=<path to rogoexamsys directory on host machine>
export ROGOEXAMSYS_DOCKER_MYSQLROOT=<mysql root password>
export ROGOEXAMSYS_DOCKER_EXPOSE=1
bash rogoexamsys-compose.sh up -d

Get the IP Address of the web container as you will need it when specifcy the server host on rogo installation.

Code Block
languagebash
docker inspect rogo_web_1

Creating a settings.xml file in the config directory of $ROGO$EXAMSYS_DOCKER_WWWROOT and run the command line installer via docker-compose.

Code Block
languagebash
docker-compose exec -T web php cli/init.php -u root -p $ROGO$EXAMSYS_DOCKER_MYSQLROOT -s db -t 3306 -n rogo


Rogo ExamSys requires a number of NPM and Composer packages. The easiest way to install these is to install the unit test and behat test suites as these will do the work for you.

...

Info
titleInstalling Composer

Download the latest Composer phar file from https://getcomposer.org/download/ to the Rogō root directory and running the following command:


php composer.phar install


Info
titleInstalling NPM

Rogo ExamSys uses NPM version 6 (this will be automatically added is installed if you are using our Docker images)

NPM itself is installed in the docker image. To install the packages run:

Base:


npm install 


Tinymce:


cd plugins/texteditor/plugin_tinymce_texteditor
npm install


TinyMCE plugins

If you want to use our ruby annotation and maths equation editor in develop please see install instructions at

...

Info

The desired location for tinymce plugins in Rogo ExamSys is at plugins/texteditor/plugin_tinymce_texteditor/js/plugins

...