Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Latest commit

 

History

History
64 lines (42 loc) · 1.41 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.41 KB

Stepup-gssp-example

build:

Example Generic SAML Stepup Provider.

Development environment

To get started, first setup the development environment. The dev. env. is a virtual machine. Every task described is run from that machine.

Requirements

  • ansible 2.x
  • vagrant 1.9.x
  • vagrant-hostsupdater
  • Virtualbox
  • ansible-galaxy

Install

ansible-galaxy install -r ansible/requirements.yml -p ansible/roles/

vagrant up

Go to the directory inside the VM:

vagrant ssh

cd /vagrant

Install composer dependencies:

composer install

If everything goes as planned you can directly go to:

https://gssp.stepup.example.com

Debugging

Xdebug is configured when provisioning your development Vagrant box. It's configured with auto connect IDE_KEY=phpstorm.

Tests and metrics

To run all required test you can run the following command from the dev env:

composer test

Every part can be run separately. Check "scripts" section of the composer.json file for the different options.

Other resources