Skip to content

Commit 0629539

Browse files
committed
Fixed change directory command
1 parent 00a6577 commit 0629539

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

README.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ rm src/main/java/org/bookservice/rest/NewCrossOriginResourceSharingFilter.java
290290
291291
# redeploy and make sure the endpoint is protected by accessing directly its URL (i.e : localhost:8080/rest/books should show unauthorized)
292292
293-
cd ~~/..
293+
cd ~~
294+
cd ..
294295
295296
# Secure the frontend
296297
cp frontend_assets/keycloak.json bookstorefrontend/src/main/webapp
@@ -301,7 +302,8 @@ cd bookstorefrontend
301302
302303
# Redeploy the frontend, it should now redirect to the keycloak login screen
303304
304-
cd ~~/..
305+
cd ~~
306+
cd ..
305307
306308
# secure the sellingPoint
307309

scripts/security.fsh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ rm src/main/java/org/bookservice/rest/NewCrossOriginResourceSharingFilter.java
1212
# redeploy and make sure the endpoint is protected by accessing directly its URL (i.e : localhost:8080/rest/books should show unauthorized)
1313
1414
15-
cd ~~/..
15+
cd ~~
16+
cd ..
1617
1718
# Secure the frontend
1819
cp frontend_assets/keycloak.json bookstorefrontend/src/main/webapp
@@ -23,7 +24,8 @@ cd bookstorefrontend
2324
2425
# Redeploy the frontend, it should now redirect to the keycloak login screen
2526
26-
cd ~~/..
27+
cd ~~
28+
cd ..
2729
2830
# secure the sellingPoint
2931

scripts/wsfk-hol.fsh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ wildfly-swarm-detect-fractions --depend --build
3737
rest-new-cross-origin-resource-sharing-filter
3838

3939
## come up to top level so we can create a new project
40-
cd $PWD
40+
cd ~~
41+
cd ..
4142

4243
# ---------------- Book Store Web Front End [:8081/rest] ---------------
4344
# Now we want to create front end swarm service to access BookService
@@ -47,7 +48,9 @@ mv ../bookservice/src/main/webapp/ src/main/
4748
# manual step : change the url in the angular services to point
4849
# to http://localhost:8080/rest/ in src/main/webapp/scripts/services
4950

50-
cd $PWD
51+
cd ~~
52+
cd ..
53+
5154
# ---------------- SellingPoint Service [:8082/rest] ---------------
5255
# create SellingPoint service
5356
project-new --named sellingPoint --stack JAVA_EE_7 --type wildfly-swarm --http-port 8082
@@ -75,7 +78,9 @@ wildfly-swarm-detect-fractions --depend --build
7578
# enable CORS
7679
rest-new-cross-origin-resource-sharing-filter
7780

78-
cd $PWD
81+
cd ~~
82+
cd ..
83+
7984

8085
#---------------- Update front end to consume Selling points from new service
8186
cp frontend_assets/sellingpoint/search.html bookstorefrontend/src/main/webapp/views/SellingPoint
@@ -89,4 +94,6 @@ cp frontend_assets/sellingpoint/SellingPointFactory.js bookstorefrontend/src/ma
8994
project-new --named keycloakserver --stack JAVA_EE_7 --type wildfly-swarm --http-port 8083 --fractions keycloak-server
9095

9196
build
92-
cd $PWD
97+
cd ~~
98+
cd ..
99+

0 commit comments

Comments
 (0)