More changes for nano commands to scripts
This commit is contained in:
Родитель
703f8d27fe
Коммит
6c68964fb8
|
@ -95,9 +95,9 @@ View the registry user interface in a web browser.
|
|||
|
||||
#### Step10
|
||||
|
||||
Let’s make a change to an HTML file in the cloned project. Open the /applications/hello-kenzan/index.html file in your favorite text editor, or run the command below to open it in the nano text editor. Change some text inside one of the <p> tags. For example, change “Hello from Kenzan!” to “Hello from Me!”. When you’re done in nano, press Ctrl+X to close the file, type Y to confirm the filename, and press Enter to write the changes to the file.
|
||||
Let’s make a change to an HTML file in the cloned project. Open the /applications/hello-kenzan/index.html file in your favorite text editor (for example, you can use nano by running the command 'nano applications/hello-kenzan/index.html' in a separate terminal). Change some text inside one of the <p> tags. For example, change “Hello from Kenzan!” to “Hello from Me!”. Save the file.
|
||||
|
||||
`nano applications/hello-kenzan/index.html`
|
||||
`echo ''`
|
||||
|
||||
#### Step11
|
||||
|
||||
|
@ -383,9 +383,9 @@ Spin up several instances of the puzzle service by moving the slider to the righ
|
|||
|
||||
#### Step9
|
||||
|
||||
Edit applications/puzzle/common/models/crossword.js in your favorite text editor, or edit it in nano using the command below. You'll see a commented section on lines 42-43 that indicates to uncomment a specific line. Uncomment line 43 by deleting the forward slashes. To save in nano, press Ctrl+X to close the file, type Y to confirm the filename, and press Enter to write the changes to the file.
|
||||
Edit applications/puzzle/common/models/crossword.js in your favorite text editor (for example, you can use nano by running the command 'nano applications/puzzle/common/models/crossword.js' in a separate terminal). You'll see a commented section on lines 42-43 that indicates to uncomment a specific line. Uncomment line 43 by deleting the forward slashes and save the file.
|
||||
|
||||
`nano applications/puzzle/common/models/crossword.js`
|
||||
`echo ''`
|
||||
|
||||
#### Step10
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@ parts:
|
|||
- cap: View the registry user interface in a web browser.
|
||||
com: minikube service registry-ui
|
||||
|
||||
- cap: Let’s make a change to an HTML file in the cloned project. Open the /applications/hello-kenzan/index.html file in your favorite text editor, or run the command below to open it in the nano text editor. Change some text inside one of the <p> tags. For example, change “Hello from Kenzan!” to “Hello from Me!”. When you’re done in nano, press Ctrl+X to close the file, type Y to confirm the filename, and press Enter to write the changes to the file.
|
||||
com: nano applications/hello-kenzan/index.html
|
||||
- cap: Let’s make a change to an HTML file in the cloned project. Open the /applications/hello-kenzan/index.html file in your favorite text editor (for example, you can use nano by running the command 'nano applications/hello-kenzan/index.html' in a separate terminal). Change some text inside one of the <p> tags. For example, change “Hello from Kenzan!” to “Hello from Me!”. Save the file.
|
||||
com: echo ''
|
||||
|
||||
- cap: Now let’s build an image, giving it a special name that points to our local cluster registry.
|
||||
com: docker build -t 127.0.0.1:30400/hello-kenzan:latest -f applications/hello-kenzan/Dockerfile applications/hello-kenzan
|
||||
|
|
|
@ -28,8 +28,8 @@ parts:
|
|||
- cap: Spin up several instances of the puzzle service by moving the slider to the right and clicking Scale. For reference, click on the Submit button, noting that the green hit does not register on the puzzle services.
|
||||
com: echo ''
|
||||
|
||||
- cap: Edit applications/puzzle/common/models/crossword.js in your favorite text editor, or edit it in nano using the command below. You'll see a commented section on lines 42-43 that indicates to uncomment a specific line. Uncomment line 43 by deleting the forward slashes. To save in nano, press Ctrl+X to close the file, type Y to confirm the filename, and press Enter to write the changes to the file.
|
||||
com: nano applications/puzzle/common/models/crossword.js
|
||||
- cap: Edit applications/puzzle/common/models/crossword.js in your favorite text editor (for example, you can use nano by running the command 'nano applications/puzzle/common/models/crossword.js' in a separate terminal). You'll see a commented section on lines 42-43 that indicates to uncomment a specific line. Uncomment line 43 by deleting the forward slashes and save the file.
|
||||
com: echo ''
|
||||
|
||||
- cap: Commit and push the change to your forked Git repo.
|
||||
com: echo ''
|
||||
|
|
Загрузка…
Ссылка в новой задаче