Skip to content

Commit

Permalink
Merge pull request #7 from epics-containers/readme
Browse files Browse the repository at this point in the history
Readme
  • Loading branch information
gilesknap authored Aug 28, 2024
2 parents 4891f96 + 6ac7df5 commit aa0d5ff
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ mkdir -p ~/.local/share/bash-completion/completions
podman completion bash > ~/.local/share/bash-completion/completions/podman
```

## Local Developer Testing Environment
## Local Testing Environment

To launch a development environment on a workstation, including phoebus perform the following steps:
To launch a test environment on a workstation, including phoebus perform the following steps:

```bash
git clone https://github.com/epics-containers/example-services.git
Expand All @@ -40,12 +40,12 @@ This will launch the following containers:
- ca-gateway
- phoebus
- a motor simulation IOC
- a area detector simulation IOC
- an area detector simulation IOC
- an additional simple example IOC


## Experimenting
You can now use:
You can now try the following (we use `ec` as a short alias for `docker compose`):

```bash
# use caget/put locally
Expand All @@ -57,7 +57,7 @@ ec exec bl01t-ea-test-01 bash
export EPICS_CA_ADDR_LIST=127.0.0.1
caget BL01T-DI-CAM-01:DET:Acquire_RBV

# attach to logs of a service
# attach to logs of a service (-f follows the logs, use ctrl-c to exit)
ec logs bl01t-di-cam-01 -f
# stop a service
ec stop bl01t-di-cam-01
Expand All @@ -77,6 +77,9 @@ ec down
```

# Deploy To Beamline Servers

TODO: this is work in progress - we have not yet created appropriate ca-gateway settings for this.

To deploy IOCs to a server, clone this repo and run the following command from the repo root:

```bash
Expand Down

0 comments on commit aa0d5ff

Please sign in to comment.