author | Nicolas Sauret <nicolas.sauret@iri.centrepompidou.fr> |
Thu, 02 Jul 2015 16:55:25 +0200 | |
changeset 7 | 1a3fa80225b2 |
parent 1 | e25add38aab5 |
child 8 | 5a0cbbe0922a |
permissions | -rw-r--r-- |
1
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
1 |
# Authentication test env for Remie |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
2 |
|
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
3 |
## prerequisite |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
4 |
- php >= 5.4 |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
5 |
- Laravel requirements : |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
6 |
+ Mcrypt PHP Extension |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
7 |
+ OpenSSL PHP Extension |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
8 |
+ Mbstring PHP Extension |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
9 |
+ Tokenizer PHP Extension |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
10 |
- docker (+boot2docker for OSX) |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
11 |
- node + npm ( or iojs + npm) |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
12 |
- jdk >= 7 |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
13 |
- maven |
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
14 |
|
e25add38aab5
add cas.war to avoid unnecessary prerequisites
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
15 |
Autre solution : utiliser Homestead : http://laravel.com/docs/5.0/homestead |
0 | 16 |
|
17 |
## CAS server |
|
18 |
```shell |
|
19 |
mvn clean package |
|
20 |
docker build -t iri-research/cas-basic . |
|
21 |
docker run -p 8080:8080 -p 8443:8443 -d iri-research/cas-basic |
|
22 |
``` |
|
23 |
||
24 |
## Client server |
|
25 |
```shell |
|
26 |
curl -sS https://getcomposer.org/installer | php |
|
27 |
php composer.phar install |
|
28 |
cp .env.example .env |
|
29 |
#edit .env to match environement |
|
30 |
npm install |
|
31 |
./node_modules/.bin/gulp |
|
32 |
php artisan serve |
|
33 |
``` |