-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
ADSimDetector Generic IOC for epics-containers | ||
============================================== | ||
# ADSimDetector Generic IOC for epics-containers | ||
|
||
Creates a generic IOC for ADSimDetector using GitHub Actions and | ||
IOC Builder for EPICS and Kubernetes (ibek). | ||
|
||
The Generic IOC built by CI is published to | ||
[Github Packages](https://github.com/orgs/epics-containers/packages?repo_name=ioc-adsimdetector). | ||
|
||
## How to test this container. | ||
## How to test this container | ||
|
||
1. git clone [email protected]:epics-containers/ioc-adsimdetector.git | ||
1. open the folder in vscode | ||
1. open project in container | ||
1. open a terminal and perform the following inside the container | ||
1. `git clone [email protected]:epics-containers/ioc-adsimdetector.git` | ||
2. `git submodule update --init --recursive` | ||
3. open the folder in vscode | ||
4. reopen in container | ||
5. optional - view log to see the build progress | ||
6. open a terminal and perform the following inside the container | ||
|
||
- (TODO it would be nice to have a single ibek wrapper command for these | ||
or maybe add them in as part of the 'ioc build' wrapper) | ||
- ibek ioc build | ||
- ibek dev instance /epics/ioc-adsimdetector/ioc_examples/bl01t-ea-ioc-02 | ||
- ibek support generate-links ADCore | ||
- ibek support generate-links ADSimDetector | ||
- cd /epics/ioc | ||
- ./start | ||
- `ibek ioc build` | ||
- `ibek dev instance /epics/ioc-adsimdetector/ioc_examples/bl01t-ea-ioc-02` | ||
- `cd /epics/ioc` | ||
- `./start` | ||
- `python -m http.server 8000 --directory /epics/opi` | ||
|
||
7. `phoebus.sh -resource 'http://localhost:8000/index.bob'` | ||
|
||
## Related projects | ||
|
||
|
@@ -37,4 +38,3 @@ container image upon which all Generic IOCs are built. | |
- [epics-containers-cli](https://github.com/epics-containers-cli) a command | ||
line tool to assist with building and deploying epics-containers into | ||
Kubernetes. | ||
|