Skip to content

Commit 823190c

Browse files
committed
adding tutorial 07
1 parent ce19861 commit 823190c

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed
Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,45 @@
11
Working with Generic IOCs
22
=========================
33

4-
In this tutorial we will learn how modify a generic IOC container image and
5-
test our changes locally before updating an IOC instance and deploying it.
4+
In this tutorial we will learn how to create a generic IOC container image and
5+
test our changes locally before deploying it.
66

7-
TODO: cover creating a ADUrl based Area detector generic IOC based
8-
on the ADSimDetector one. (point at a public web cam)
7+
The example IOC used a ADSimDetector, we will make a similar IOC that uses a
8+
ADUrl to get images from a web cam.
9+
10+
Create a New Generic IOC project
11+
--------------------------------
12+
13+
Much like creating a new beamline we have a template project that can be used
14+
as the starting point for a new generic IOC. Again we will create this in
15+
your personal GitHub user space.
16+
17+
TODO: the following steps to create a new generic IOC project will be automated
18+
using and ``ec`` command.
19+
20+
#. Create a new, completely blank repository in your GitHub account
21+
called ``ioc-adurldetector``. To do this got to https://github.com/new
22+
and fill in the details as per the image below. Click
23+
``Create repository``.
24+
25+
#. Clone the template repo locally and rename from ioc-template to ioc-adurldetector
26+
27+
.. code-block:: bash
28+
29+
git clone [email protected]:epics-containers/ioc-template.git
30+
mv ioc-template ioc-adurldetector
31+
cd ioc-adurldetector
32+
33+
#. Add your new repo to your VSCode workspace and take a look at what you
34+
have.
35+
36+
From the VSCode menus: File->Add Folder to Workspace
37+
then select the folder ioc-adurldetector
38+
39+
#. Push the new repo back to a the new repo on github
40+
41+
.. code-block:: bash
42+
43+
git remote rm origin
44+
git remote add origin [email protected]:<YOUR USER NAME>/ioc-adurldetector.git
45+
git push origin main

0 commit comments

Comments
 (0)