You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sequences/sachelp/uml/createnewinstance.uml
+36-21Lines changed: 36 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,34 @@ title
6
6
7
7
end title
8
8
9
-
start
10
-
:Start;
11
-
:Complete the prerequisites;
12
-
note left
9
+
actor Developer
10
+
participant "Start" as A #lightGreen
11
+
participant "Create New Repository" as B #white
12
+
participant "Seed" as C #white
13
+
participant "Fork" as D #white
14
+
participant "Clone" as E #white
15
+
participant "Update Package.json" as F #white
16
+
participant "Replace SaC links" as G #white
17
+
participant "Install Dependencies" as H #white
18
+
participant "Add Missions & Sequences" as I #white
19
+
participant "Test" as J #white
20
+
participant "Commit" as K #white
21
+
participant "Deploy" as L #white
22
+
participant "Browse" as M #orange
23
+
24
+
Developer -> A: Complete the prerequisites;
25
+
note right
13
26
Prerequisites listed in a dedicated sequence diagram under the help menu.
14
27
end note
15
-
:Create and configure a new git repository;
28
+
Developer -> B: Create and configure a new git repository;
16
29
note right
17
30
Protect the master branch
18
31
Enable branch protection rules
19
32
Require reviews on PRs
20
33
etc. etc.
21
34
end note
22
-
:Seed the repository with the current release of SaC, which is available at [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]];
23
-
note left
35
+
Developer -> C: Seed the repository with the current release of SaC, which is available at [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]];
36
+
note right
24
37
[[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repositories]] default pipeline includes
25
38
- markdown spelling checks
26
39
- dockerfile, json and js linting
@@ -30,30 +43,32 @@ note left
30
43
- SVG diagrams generated from the sequence UML files and are committed to repository
31
44
- code to deploy your site to the repositories GitHub pages site when the Master branch is updated.
32
45
end note
33
-
:Fork your newly created repository [[https://github.com/your_organization/your_repository{Right click to open in a new window or a new tab} Your repository]];
34
-
:Clone your fork on your local machine;
35
-
:Update the homepage value in the package.json file with the (case sensitive) address of your new repository;
46
+
Developer -> D: Fork your newly created repository [[https://github.com/your_organization/your_repository{Right click to open in a new window or a new tab} Your repository]];
47
+
Developer -> E: Clone your fork on your local machine
48
+
Developer -> F: Update the homepage value in the package.json file with the (case sensitive) address of your new repository
36
49
note right
37
50
The base url for generated site needs to be set correctly for your missions and sequences to render.
38
51
end note
39
-
:Find and replace all references to the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]] with the address of your instace of the repository;
40
-
note left
52
+
Developer -> G: Find and replace all references to the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]] with the address of your instance of the repository;
53
+
note right
41
54
You can ignore the references in the sample uml and svg files as you presumably will be replacing those files.
42
55
end note
43
-
:Open a terminal session, go to your local folder and run <i>npm install</i>;
56
+
Developer -> H: Open a terminal session, go to your local folder and run <i>npm install</i>;
44
57
note right
45
58
This is to install the dependencies in the local node_modules folder
46
59
end note
47
-
:Add missions and sequences;
60
+
Developer -> I: Add missions and sequences
61
+
note right
48
62
:Remove the sample mission and sequence, entitled Your mission, created when you created the instance of the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]];
49
-
note left
50
63
Delete the entry for yourmission from missions.json.
51
64
Delete the associated images/yourmission.svg and uml/yourmission.uml files from the sequences/yourmission folder.
52
65
end note
53
-
:Run unit tests;
54
-
:Update any unit tests that need to be updated;
55
-
:Commit your changes;
56
-
:Deploy;
57
-
:Verify your site is up and running. It should be available at [[https://github.com/pages/your_organization/your_repository{Right click to open in a new window or a new tab} Your repositories GitHub pages site]];;
58
-
stop
66
+
Developer -> J: Run unit tests
67
+
note right
68
+
Remember to update any unit tests that need to be updated;
69
+
end note
70
+
Developer -> K: Commit your changes
71
+
Developer -> L: Deploy
72
+
Developer -> M: Verify your site is up and running. It should be available at [[https://github.com/pages/your_organization/your_repository{Right click to open in a new window or a new tab} Your repositories GitHub pages site]];
Copy file name to clipboardExpand all lines: src/sequences/sachelp/uml/updateinstance.uml
+45-23Lines changed: 45 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -6,41 +6,63 @@ title
6
6
7
7
end title
8
8
9
-
start
10
-
:Start;
11
-
:Open a terminal session;
12
-
:Go to your cloned copy of your dedicated instance of SaC;
13
-
note left
14
-
Clone will be of [[https://github.com/your_organization/your_repository{Right click to open in a new window or a new tab} Your repository]]
9
+
actor Developer
10
+
participant "Start" as A #lightGreen
11
+
participant "Go to Clone" as B #white
12
+
participant "Backup Clone" as C #white
13
+
participant "Get Latest Release" as D #white
14
+
participant "Apply Release" as E #white
15
+
participant "Update package.json" as F #white
16
+
participant "Replace SaC links" as G #white
17
+
participant "Install Dependencies" as H #white
18
+
participant "Reapply Missions & Sequences" as I #white
19
+
participant "Remove Sample Mission" as J #white
20
+
participant "Test" as K #white
21
+
participant "Commit" as L #white
22
+
participant "Deploy" as M #white
23
+
participant "Browse" as N #orange
24
+
25
+
Developer -> A: Open a terminal session
26
+
Developer -> B: Go to your cloned copy of your dedicated instance of SaC
27
+
note right
28
+
Clone will be of [[https://github.com/your_organization/your_repository{Right click to open in a new window or a new tab} Your repository]]
15
29
end note
16
-
:Back up your cloned files;
17
-
:Get the updated version of SaC from the [[https://github.com/dxc-technology/Sequences-as-Code/releases{Right click to open in a new window or a new tab} Releases tab]] of the SaC repository;
18
-
:Update the homepage value in the package.json file with the (case sensitive) address of your repository;
30
+
Developer -> C: Back up your cloned files
31
+
Developer -> D: Get the updated version of SaC from the [[https://github.com/dxc-technology/Sequences-as-Code/releases{Right click to open in a new window or a new tab} Releases tab]] of the SaC repository
32
+
Developer -> E: Apply the latest version
33
+
Developer -> F: Update the homepage value in the package.json file with the (case sensitive) address of your new repository
19
34
note right
20
35
The base url for generated site needs to be set correctly for your missions and sequences to render.
21
36
end note
22
-
:Find and replace all references to the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]] with the address of your instance of the repository;
23
-
note left
37
+
Developer -> G: Find and replace all references to the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]] with the address of your instance of the repository
38
+
note right
24
39
You can ignore the references in the sample uml and svg files as you presumably will be replacing those files.
25
40
end note
26
-
:Open a terminal session, go to your local folder and run <i>npm install</i>;
41
+
Developer -> H: Open a terminal session, go to your local folder and run <i>npm install</i>
27
42
note right
28
43
This is to install any new or updated dependencies in the local node_modules folder
29
44
end note
30
-
:Reapply your missions and sequences;
45
+
Developer -> I: Remove the sample mission and sequence, entitled Your mission, provided with the new release of the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]]
46
+
note right
47
+
Delete the entry for yourmission from missions.json.
48
+
Delete the associated images/yourmission.svg and uml/yourmission.uml files from the sequences/yourmission folder.
49
+
end note
50
+
Developer -> J: Reapply your missions and sequences
31
51
note right
32
52
Re configure your missions and sequences in missions.json.
33
53
Re add your sequence uml and svg files to the appropriate sequences sub-folder.
34
54
end note
35
-
:Remove the sample mission and sequence, entitled Your mission, provided with the new release of the [[https://github.com/dxc-technology/Sequences-as-Code{Right click to open in a new window or a new tab} SaC repository]];
36
-
note left
37
-
Delete the entry for yourmission from missions.json.
38
-
Delete the associated images/yourmission.svg and uml/yourmission.uml files from the sequences/yourmission folder.
55
+
Developer -> K: Run unit tests
56
+
note right
57
+
Remember to update any unit tests that need to be updated
58
+
end note
59
+
Developer -> L: Commit your changes
60
+
Developer -> M: Deploy
61
+
Developer -> N: Verify your site is up and running. It should be available at [[https://github.com/pages/your_organization/your_repository{Right click to open in a new window or a new tab} Your repositories GitHub pages site]]
62
+
note right
63
+
Remember to update any unit tests that need to be updated
39
64
end note
40
-
:Run unit tests;
41
-
:Update any unit tests that need to be updated;
42
-
:Commit your changes;
43
-
:Deploy;
44
-
:Verify your site is up and running. It should be available at [[https://github.com/pages/your_organization/your_repository{Right click to open in a new window or a new tab} Your repositories GitHub pages site]];;
45
-
stop
65
+
Developer -> L: Commit your changes
66
+
Developer -> M: Deploy
67
+
Developer -> N: Verify your site is up and running. It should be available at [[https://github.com/pages/your_organization/your_repository{Right click to open in a new window or a new tab} Your repositories GitHub pages site]]
0 commit comments