Skip to content

Commit 01c4e4c

Browse files
Adding in an extra sed command to the Try what you'll build section of the guide (#131)
* Updating new static main.js file name * Adding in another Sed command to the Try what you'll build section * Removing indent from command in readme.adoc * Changing to https instead of http --------- Co-authored-by: Gilbert Kwan <[email protected]>
1 parent ed7fb98 commit 01c4e4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ mvn liberty:run
7272
endif::[]
7373

7474
ifdef::cloud-hosted[]
75-
In this IBM cloud environment, you need to update the URL to access the ***artists.json***. Run the following commands to go to the ***finish*** directory and update the file where specified the URL:
75+
In this IBM cloud environment, you need to update the URL to access the ***artists.json***. Run the following commands to go to the ***finish*** directory and update the files where the URL has been specified:
7676
```bash
7777
cd finish
78-
sed -i 's=http://localhost:9080/artists='"http://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' src/main/webapp/static/js/main.2d7e902e.js
78+
sed -i 's=http://localhost:9080/artists='"https://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' src/main/webapp/static/js/main.2d7e902e.js
79+
sed -i 's=http://localhost:9080/artists='"https://${USERNAME}-9080.$(echo $TOOL_DOMAIN | sed 's/\.labs\./.proxy./g')/artists"'=' /home/project/guide-rest-client-reactjs/finish/src/main/frontend/src/Components/ArtistTable.js
7980
```
8081

8182
To try out the application, run the following Maven goal to build the application and deploy it to Open Liberty:

0 commit comments

Comments
 (0)