add howto clone and start the devcontainer and how to start express inside.

This commit is contained in:
Dieter Blocher
2025-01-29 10:12:12 +00:00
parent 8bf47a6c5f
commit 5146f356b6
8 changed files with 32 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ Passport-js
https://www.youtube.com/watch?v=-RCnNyD0L-s
# Certificate
The Container need our certificate!
The Container need our certificate! -> Check if this works now?
# Documentation

View File

@@ -1,4 +1,32 @@
# Start the Server:
'''npm run devStart'''
# Clone the Repository into a container
![alt text](./assets/image.png)
Open VS Code and press ```Ctrl + Shift + P``` (Windows/Linux) or ```Cmd + Shift + P``` (Mac) to get to the Command Palette
Type ```DevContainers Clone...``` until you can see the command:
DevContainers: Clone Repository in Container Volume...
![alt text](./assets/command_palllete.png)
Enter the URL of the repository:
https://gitea.not-my.cloud/dieter/test_dev.git
![alt text](./assets/repo_url.png)
The repo should be cloned and the container starts up:
![alt text](./assets/devcontainer_start.png)
Now you are able to open a new terminal:
![alt text](./assets/new_terminal.png)
# Start the Server:
```npm run devStart``` or ```npx nodemon```
![alt text](./assets/start_node_server.png)
or
![alt text](./assets/start_node_server2.png)
the second method uses the [nodemon.json](../nodemon.json) to configure nodemon.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
doc/assets/new_terminal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
doc/assets/repo_url.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB