Skip to content

Commit 6b707fd

Browse files
committed
Docs updated. Dev Env Setting Window hint panel fixed.
1 parent 96f5529 commit 6b707fd

File tree

10 files changed

+46
-17
lines changed

10 files changed

+46
-17
lines changed

dem/cli/tui/window/dev_env_settings_window.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
from dem.cli.tui.printable_tool_image import PrintableToolImage
66
from rich.panel import Panel
77
from rich.layout import Layout
8-
from rich.console import Group
98
from rich.align import Align
109
from rich.live import Live
1110
from rich.table import Table
1211
from readchar import readkey, key
1312

1413
class NavigationHint(Panel):
1514
hint_text = """
16-
- [bold]move cursor[/]: arrows or vi mode
17-
- [bold]select[/]: space or enter
18-
- [bold]jump to save/cancel[/]: tab
15+
- [bold]move cursor[/]: up and down arrows or j and k keys
16+
- [bold]toggle selection[/]: space or enter
17+
- [bold]jump between save/cancel and the selector[/]: tab
1918
"""
2019
def __init__(self) -> None:
2120
super().__init__(self.hint_text, title="Navigation", expand=False)

docs/commands.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,21 @@ Arguments:
3636

3737
Create a new Development Environment descriptor and save it to the local descriptor storage (catalog).
3838

39-
Running this command will open up the Dev Env settings window:
39+
Running this command will open up the Dev Env Settings Window:
4040

41-
![tool select](wp-content/tool_select.png)
41+
![Dev Env Settings Window](wp-content/dev_env_settings_window.png)
4242

43-
2. Assign the required tool images for the selected types. You can navigate with the
44-
:material-arrow-up: and :material-arrow-down: or :material-alpha-k: and :material-alpha-j: keys.
45-
Select the required tool image and press :material-keyboard-return:.
43+
The table on the left shows the available tool types. Select the ones you want to use in the
44+
Development Environment. You can navigate with the :material-arrow-up: and :material-arrow-down: or
45+
:material-alpha-k: and :material-alpha-j: keys. Move the cursor to the tool image you would like to
46+
select or deselect and press the :material-keyboard-return:.
47+
On the right side, you can see the tool images that are selected.
4648

47-
:info: After creation, the Development Environment can be installed with the `install` command.
49+
When the Dev Env is ready, press :material-keyboard-return: on the `save` button.
50+
51+
!!! info
52+
53+
After creation, the Development Environment can be installed with the `install` command.
4854

4955
Arguments:
5056

@@ -81,12 +87,23 @@ Arguments:
8187

8288
## **`dem modify DEV_ENV_NAME`**
8389

84-
Open the Development Environment settings window to modify the Development Environment descriptor.
90+
Modify a Development Environment descriptor available from the local descriptor storage (catalog).
91+
92+
Running this command will open up the Dev Env Settings Window, prefilled with the current selection:
93+
94+
![Dev Env Settings Window](wp-content/dev_env_settings_window.png)
95+
96+
The table on the left shows the available tool types. Select the ones you want to use in the
97+
Development Environment. You can navigate with the :material-arrow-up: and :material-arrow-down: or
98+
:material-alpha-k: and :material-alpha-j: keys. Move the cursor to the tool image you would like to
99+
select or deselect and press the :material-keyboard-return:.
100+
On the right side, you can see the tool images that are selected.
101+
102+
When the Dev Env is ready, press :material-keyboard-return: on the `save` button.
85103

86-
2. Assign the required tool images for the selected types. You can navigate with the
87-
:material-arrow-up: and :material-arrow-down: or :material-alpha-k: and :material-alpha-j: keys.
88-
Select the required tool image and press :material-keyboard-return:.
104+
!!! info
89105

106+
After the modification, the Development Environment can be installed with the `install` command.
90107

91108
Arguments:
92109

docs/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ containerized Development Environments.**
1515
Learn by doing! Try our [tutorial](https://www.axemsolutions.io/tutorial/index.html)
1616
with a simple embedded project!
1717

18+
## Pain points DEM solves
19+
- Slow and error-prone setup of Development Environments -> **Quick and reproducible installation**
20+
with a single command
21+
- "It works on my machine" -> **Consistent Development Environments** for every developer
22+
- Modifying the toolset is hard and time-consuming -> **Easy and scalable Dev Env management** where
23+
the tools are like building blocks
24+
- Devs get out of flow and waste time and motivation configuring the tools -> Devs can **focus on
25+
their actual work**
26+
- Vendor specific interfaces -> **Standardized Development Environments**
27+
1828
## Concept
1929

2030
### :unlock: Loose coupling between tools

docs/installation.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ To use the DEM on your PC, you need to have the following tools installed:
1111

1212
## Installation
1313

14-
Use the following install script to get the latest version of DEM:
14+
You can download the installer script from the root of the repository:
1515

16-
`curl -fsSL 'https://raw.githubusercontent.com/axem-solutions/dem/main/install-dem.sh' | bash`
16+
curl -O https://raw.githubusercontent.com/axem-solutions/dem/main/install-dem.sh
17+
18+
If you are happy with the content of the script, you can execute it:
19+
20+
bash install-dem.sh
1721

1822
### Alternative installation
1923

docs/quickstart.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ You can clone the selected template with:
1515

1616
dem clone DEV_ENV_NAME
1717

18-
1918
## I'd like to work on a project already configured with DEM...
2019

2120
In this case you only need to initialize the Dev Env with:
51.6 KB
Loading

docs/wp-content/image_select.png

-26.2 KB
Binary file not shown.
-20.4 KB
Binary file not shown.

docs/wp-content/organization.png

-73.9 KB
Binary file not shown.

docs/wp-content/tool_select.png

-17.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)