Introduction & Motivation •
Key Features •
How To Use •
Installation •
API Reference •
Credit and Licence •
The Scenario Platform is a too which facilitates the creation and taking of interactive scenarios with added complexities such as concurrent variables and branching paths for a more in-depth experience.
This project is created by the Legal Innovation Lab Wales for purposes of creating a platform for charities/organisations to easily create interactive scenarios to simulate real world experiences. Such as client interviews, conversation monitoring and life scenarios.
- Non-linear Questions
The Scenario Platform supports a non-linear question structure which can be used to create and simulate scenarios that are more directly in line with real world conversation. Individual answers can be linked to arbitrary questions to allow diverging pathways, and a more complex flow. Allowing users to have a more interactive experience.
- Extensive variable customisation
Each scenario can have a range of variables, each answer can influence one or many of these. These variables are fully customisable to each individual scenario. Allowing monitoring of different areas such as compliance, understanding and trust behind the scenes. This as a result can lead to scenarios showcasing users strengths and weaknesses in a variety of areas based on their answers.
The core technologies used for this project are:
-
Ruby (2.7.2) (we recommend using rbenv for managing Ruby versions)
-
Rails (6.1.0)
-
Webpacker (4.3.0)
-
PostgreSQL (~12.6)
-
NodeJS (~10.19)
-
React. 17.0.1, React router & Bootstrap for styling the front end components
-
HTML, CSS + JS. All HTML, CSS and JS
You can visit the project at https://scenario-platform.legaltech.wales/ and read the guide on building scenarios. Please contact the team if you have any questions.
Some additional dependency steps might include:
sudo apt install postgresql postgresql-contrib`
sudo apt install libpq-dev
Setup postgres local db
sudo apt install nodejs
sudo apt install npm
sudo npm install -g npm@latest
sudo npm install --global yarn
Install Gems
bundle
Install Webpack
rails webpacker:install
Create the database and run migrations:
rails db:create
rails db:migrate
rails db:seed
rails s
You should now be able to view the main web page at
http://localhost:3000
You might be asked to override your local webpacker environment to work
config/webpack/environment.js
Coming soon
Coming soon