Skip to content

Commit 4644227

Browse files
authored
Add reminder to checkout PR branch when testing updated UI bundle files (#35)
* Add reminder to checkout PR branch when testing updated UI bundle files * minor edit
1 parent 435347d commit 4644227

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.adoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ git clone {url-project} &&
179179
The example above clones the UI project and then switches to the project folder on your filesystem.
180180
Stay in this project folder when executing all subsequent commands.
181181

182+
If you are testing UI bundle changes from a PR that is not yet merged to `main`, checkout the branch. Example:
183+
184+
[source,shell]
185+
----
186+
git checkout feature/new-helios-base
187+
----
188+
182189
Use npm to install the project's dependencies inside the project.
183190
In your terminal, execute the following command:
184191

@@ -207,7 +214,21 @@ The files in the [.path]_preview-src/_ folder provide the sample content that al
207214
In this folder, you'll primarily find pages written in AsciiDoc.
208215
These pages provide a representative sample and kitchen sink of content from the real site.
209216

210-
To build the UI and preview it in a local web server, run the `preview` command:
217+
If you are testing UI bundle changes from a PR that is not yet merged to `main`, and if you haven't already, remember to checkout the branch. Example:
218+
219+
[source,shell]
220+
----
221+
git checkout feature/new-helios-base
222+
----
223+
224+
Run the `npm install` command again.
225+
226+
[source,shell]
227+
----
228+
npm install
229+
----
230+
231+
Now, to build the UI and preview it in a local web server, run the `preview` command:
211232

212233
[source,shell]
213234
----

0 commit comments

Comments
 (0)