2016-01-28 08:54:05 +00:00
|
|
|
# Mod_auth_mellon test
|
|
|
|
|
2016-02-18 13:26:14 +00:00
|
|
|
## Docker images
|
2016-01-28 08:54:05 +00:00
|
|
|
|
2016-02-18 13:26:14 +00:00
|
|
|
Each docker image contains apache + mod_auth_mellon and two html files unprotected (/) and protected (/auth).
|
2016-01-28 08:54:05 +00:00
|
|
|
|
2016-02-18 13:26:14 +00:00
|
|
|
## Build docker images
|
2016-01-28 08:54:05 +00:00
|
|
|
|
|
|
|
docker build -t apache-mellon docker/
|
2016-02-18 13:26:14 +00:00
|
|
|
docker build -t apache-mellon2 docker2/
|
2016-01-28 08:54:05 +00:00
|
|
|
|
|
|
|
## Run docker image
|
|
|
|
|
|
|
|
docker run -d -p 8380:80 apache-mellon
|
2016-02-18 13:26:14 +00:00
|
|
|
docker run -d -p 8480:80 apache-mellon2
|
2016-01-28 08:54:05 +00:00
|
|
|
|
|
|
|
## Run tests
|
|
|
|
|
2016-02-18 13:26:14 +00:00
|
|
|
mvn clean install [-Dapache.mod_auth_mellon.url=http://localhost:8380 -Dapache.mod_auth_mellon2.url=http://localhost:8480]
|