@@ -5,18 +5,36 @@ The EPICS Devcontainer
5
5
Introduction
6
6
------------
7
7
8
- You can setup a single devcontainer for managing all of your IOCs.
8
+ You can setup a single devcontainer for managing all of your IOCs. In
9
+ `devcontainer ` we launched a devcontainer for a single project. Here we
10
+ will create a workspace that is managed by a devcontainer. This will allow
11
+ you to manage multiple projects in a single devcontainer.
9
12
10
13
The base container is defined in https://github.com/epics-containers/dev-e7
11
14
but we will use a customizable image derived from that. The customizable
12
15
container definition is in https://github.com/epics-containers/.devcontainer.
13
16
14
- .. seealso :: Basic devcontainer setup: `./devcontainer`
15
-
16
17
17
18
Launching the Devcontainer
18
19
--------------------------
19
20
21
+ To setup your devcontainer, perform the following steps:
22
+
23
+ - create a workspace folder
24
+ - clone the .devcontainer repository into the workspace folder
25
+ - open the workspace folder with Visual Studio Code.
26
+
27
+ for example:
28
+
29
+ .. code-block :: bash
30
+
31
+ mkdir work-ec
32
+ cd work-ec
33
+ git clone [email protected] :epics-containers/.devcontainer.git
34
+ code .
35
+
36
+ .. seealso :: `./devcontainer`
37
+
20
38
Having setup your devcontainer, to verify things are working as expected,
21
39
open a terminal in VSCode from the menus ``Terminal > New Terminal ``.
22
40
You should see a prompt like this:
@@ -46,6 +64,10 @@ Things to note:
46
64
written with your user id and group id when writing to the mounted
47
65
workspace folder (or your home directory).
48
66
67
+ - In the following tutorials we will create further project folders and add
68
+ them to the workspace that you have just created. These projects will
69
+ all be managed inside the devcontainer we have just set up.
70
+
49
71
.. _devcontainer-configure :
50
72
51
73
Configuring the Devcontainer
0 commit comments