-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix devcontainer, update docs #3014
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Dev Containers | ||
Check failure on line 1 in .devcontainer/README.md GitHub Actions / vale
|
||
|
||
## Image Used in This Project | ||
|
||
This project uses a Nextcloud Docker image for the development container. The image is defined in the `.devcontainer.json` configuration file. For more details about the image and its configuration, you can refer to the [GitHub repository](https://github.com/juliusknorr/nextcloud-dev). | ||
Check failure on line 5 in .devcontainer/README.md GitHub Actions / vale
|
||
|
||
# VS Code | ||
|
||
## Introduction to Dev Containers | ||
Check failure on line 9 in .devcontainer/README.md GitHub Actions / vale
|
||
|
||
Dev Containers are a feature in Visual Studio Code that allows you to develop inside a containerized environment. This ensures that your development environment is consistent across different machines and setups. By using Dev Containers, you can easily share your development environment with your team, ensuring that everyone is working with the same dependencies and configurations. | ||
Check failure on line 11 in .devcontainer/README.md GitHub Actions / vale
Check failure on line 11 in .devcontainer/README.md GitHub Actions / vale
|
||
|
||
## How to Use Dev Containers with VS Code | ||
Check failure on line 13 in .devcontainer/README.md GitHub Actions / vale
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this to the upstream documentation. The F1 for example is not my button to open the command palette. |
||
|
||
1. **Install Docker**: Make sure you have Docker installed on your machine. You can download it from [Docker's official website](https://www.docker.com/products/docker-desktop). | ||
Check failure on line 15 in .devcontainer/README.md GitHub Actions / vale
|
||
|
||
2. **Install VS Code**: If you haven't already, download and install Visual Studio Code from [here](https://code.visualstudio.com/). | ||
|
||
3. **Install the Remote - Containers Extension**: Open VS Code and go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window. Search for "Remote - Containers" and install it. | ||
|
||
4. **Open a Folder in a Container**: | ||
- Open your project folder in VS Code. | ||
- Press `F1` to open the Command Palette, then type `Remote-Containers: Open Folder in Container...` and select it. | ||
- VS Code will build the container and open your project inside it. | ||
|
||
|
||
For further information on how to configure and use Dev Containers, please visit the [official documentation](https://code.visualstudio.com/docs/remote/containers). | ||
Check failure on line 27 in .devcontainer/README.md GitHub Actions / vale
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.