diff --git a/README.md b/README.md index d4a8aae..865025c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/doc/README.md b/doc/README.md index 60a6f25..c803535 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,4 +1,32 @@ -# Start the Server: -'''npm run devStart''' +# Clone the Repository into a container -![alt text](./assets/image.png) \ No newline at end of file +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. \ No newline at end of file diff --git a/doc/assets/command_palllete.png b/doc/assets/command_palllete.png new file mode 100644 index 0000000..9da4596 Binary files /dev/null and b/doc/assets/command_palllete.png differ diff --git a/doc/assets/devcontainer_start.png b/doc/assets/devcontainer_start.png new file mode 100644 index 0000000..92bf20f Binary files /dev/null and b/doc/assets/devcontainer_start.png differ diff --git a/doc/assets/new_terminal.png b/doc/assets/new_terminal.png new file mode 100644 index 0000000..026d9bd Binary files /dev/null and b/doc/assets/new_terminal.png differ diff --git a/doc/assets/repo_url.png b/doc/assets/repo_url.png new file mode 100644 index 0000000..f2ee70d Binary files /dev/null and b/doc/assets/repo_url.png differ diff --git a/doc/assets/image.png b/doc/assets/start_node_server.png similarity index 100% rename from doc/assets/image.png rename to doc/assets/start_node_server.png diff --git a/doc/assets/start_node_server2.png b/doc/assets/start_node_server2.png new file mode 100644 index 0000000..b65dafa Binary files /dev/null and b/doc/assets/start_node_server2.png differ