Skip to content

Commit 5839996

Browse files
committed
docs: add run documentation
1 parent 93e52ad commit 5839996

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Docker Hub image: [gunet/phpcas-tester](https://hub.docker.com/repository/docker
2222
* `variables.env`: Environment variables file By default, it is designed to assist the `docker-compose.test.yaml` stack
2323
- `DEBUG` variable sets debugging (mainly phpCAS debug)
2424

25+
# Run
26+
* Edit `variables.env` if needed
27+
* Run `docker compose up -d` if we want to check an existing production CAS server
28+
* Run `docker compose -f docker-compose.yaml -f docker-compose.test.yaml up -d` if we want to run the test stack (Which includes a CAS and LDAP server)
29+
* Point browser to `https://localhost`
30+
2531
# Environment Variables
2632
* `CAS_SERVER`: The hostname of the CAS server (default `localhost`)
2733
* `CAS_CONTEXT`: The CAS context. In the case of `gunet/simple-cas` it will be `/cas`, while in the case of a regulat CAS it will be `./` (default `/cas`)

0 commit comments

Comments
 (0)