From a25a24397cd0daa20a1fd84751bad1fb907a29e3 Mon Sep 17 00:00:00 2001 From: Kathryn Kodama Date: Thu, 5 Jan 2023 11:22:02 -0500 Subject: [PATCH] Update libertyDev.md Use tag for keyboard keys markup in MarkDown --- docs/libertyDev.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/libertyDev.md b/docs/libertyDev.md index a3cbf7c9..533bf531 100644 --- a/docs/libertyDev.md +++ b/docs/libertyDev.md @@ -13,16 +13,16 @@ To start the server in a container, see the [libertyDevc](#libertydevc-task-cont While dev mode is running, perform the following in the command terminal to run the corresponding actions. -* `g` - To toggle the automatic generation of features, type `g` and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. -* `o` - To optimize the list of generated features, type `o` and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. -* Enter - To run tests on demand, press Enter. -* `r` - To restart the server, type `r` and press Enter. -* `h` - To see the help menu for available actions, type `h` and press Enter. -* `q` - stop the server and quit dev mode, press `Ctrl-C`, or type `q` and press Enter. +* g - To toggle the automatic generation of features, type g and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. +* o - To optimize the list of generated features, type o and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. +* Enter - To run tests on demand, press Enter. +* r - To restart the server, type r and press Enter. +* h - To see the help menu for available actions, type h and press Enter. +* q - stop the server and quit dev mode, press Ctrl-C, or type q and press Enter. ### Features -Dev mode provides three key features. Code changes are detected, recompiled, and picked up by your running server. Tests are run on demand when you press Enter in the command terminal where dev mode is running, or optionally on every code change to give you instant feedback on the status of your code. Finally, it allows you to attach a debugger to the running server at any time to step through your code. +Dev mode provides three key features. Code changes are detected, recompiled, and picked up by your running server. Tests are run on demand when you press Enter in the command terminal where dev mode is running, or optionally on every code change to give you instant feedback on the status of your code. Finally, it allows you to attach a debugger to the running server at any time to step through your code. The following are dev mode supported code changes. Changes to your server such as changes to the port, server name, hostname, etc. will require restarting dev mode to be detected. Changes other than those listed below may also require restarting dev mode to be detected. @@ -147,7 +147,7 @@ Dev mode offers different levels of file tracking and deployment depending on th - Note that the Dockerfile must copy only one `.war` file for the application. See the section on [Dockerfiles](#Dockerfile) for details. 2. You can use the COPY command to deploy an entire directory and its sub-directories. In this case, dev mode will detect file changes and automatically rebuild the image and restart the container upon changes. 3. The ADD command can be used on individual files, including tar files, as well as on directories. Again, dev mode will rebuild the image and restart the container when it detects file changes. -4. Certain Dockerfile features are not supported by dev mode. In these cases, the files specified are not tracked. If you change these files, you must rebuild the image and restart the container manually. **Type 'r' and press Enter to rebuild the image and restart the container.** +4. Certain Dockerfile features are not supported by dev mode. In these cases, the files specified are not tracked. If you change these files, you must rebuild the image and restart the container manually. **Type r and press Enter to rebuild the image and restart the container.** - variable substitution used in the COPY or ADD command e.g. `$PROJECT/config` - wildcards used in the COPY or ADD command e.g. `build/wlp/usr/servers/defaultServer/configDropins/*` - paths relative to WORKDIR e.g. `WORKDIR /other/project` followed by `COPY test.txt relativeDir/` @@ -157,12 +157,12 @@ Dev mode offers different levels of file tracking and deployment depending on th While dev mode is running in container mode, perform the following in the command terminal to run the corresponding actions. -* `g` - To toggle the automatic generation of features, type `g` and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. -* `o` - To optimize the list of generated features, type `o` and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. -* Enter - To run tests on demand, press Enter. -* `r` - To rebuild the Docker image and restart the container, type `r` and press Enter. -* `h` - To see the help menu for available actions, type `h` and press Enter. -* `q` - stop the server and quit dev mode, press `Ctrl-C`, or type `q` and press Enter. +* g - To toggle the automatic generation of features, type g and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. +* o - To optimize the list of generated features, type o and press Enter. A new server configuration file will be generated in the SOURCE configDropins/overrides configuration directory. +* Enter - To run tests on demand, press Enter. +* r - To rebuild the Docker image and restart the container, type r and press Enter. +* h - To see the help menu for available actions, type h and press Enter. +* q - stop the server and quit dev mode, press Ctrl-C, or type q and press Enter. ### Linux Limitations