add howto clone and start the devcontainer and how to start express inside.
@@ -1,4 +1,32 @@
|
||||
# Start the Server:
|
||||
'''npm run devStart'''
|
||||
# Clone the Repository into a container
|
||||
|
||||

|
||||
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...
|
||||

|
||||
|
||||
Enter the URL of the repository:
|
||||
|
||||
https://gitea.not-my.cloud/dieter/test_dev.git
|
||||
|
||||

|
||||
|
||||
The repo should be cloned and the container starts up:
|
||||
|
||||

|
||||
|
||||
Now you are able to open a new terminal:
|
||||
|
||||

|
||||
|
||||
# Start the Server:
|
||||
```npm run devStart``` or ```npx nodemon```
|
||||
|
||||

|
||||
|
||||
or
|
||||
|
||||

|
||||
|
||||
the second method uses the [nodemon.json](../nodemon.json) to configure nodemon.
|
||||
BIN
doc/assets/command_palllete.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
doc/assets/devcontainer_start.png
Normal file
|
After Width: | Height: | Size: 123 KiB |
BIN
doc/assets/new_terminal.png
Normal file
|
After Width: | Height: | Size: 140 KiB |
BIN
doc/assets/repo_url.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
BIN
doc/assets/start_node_server2.png
Normal file
|
After Width: | Height: | Size: 22 KiB |