# Authentication test env for Remie

## prerequisite
- php >= 5.4
- Laravel requirements :
    + Mcrypt PHP Extension
    + OpenSSL PHP Extension
    + Mbstring PHP Extension
    + Tokenizer PHP Extension
- docker (+boot2docker for OSX)
- node + npm ( or iojs + npm)
- jdk >= 7
- maven

Autre solution : utiliser Homestead : http://laravel.com/docs/5.0/homestead

## CAS server
```shell
mvn clean package
docker build -t iri-research/cas-basic .
docker run -p 8080:8080 -p 8443:8443 -d iri-research/cas-basic
```

## Client server
```shell
curl -sS https://getcomposer.org/installer | php
php composer.phar install
cp .env.example .env
#edit .env to match environement
npm install
./node_modules/.bin/gulp
php artisan serve
```
