| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7868287 commit d74ac04
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1,48 @@ | |||
| 1 | 1 | # Java Dev Container to work with VSCode Java Development | |
| 2 | + | ||
| 3 | + This repository provides a development container for Java projects using Visual Studio Code. It includes all the necessary tools and configurations to set up a consistent and efficient development environment. | ||
| 4 | + | ||
| 5 | + ## Features | ||
| 6 | + | ||
| 7 | + - Pre-configured Java Development Kit (JDK) | ||
| 8 | + - Maven for dependency management | ||
| 9 | + - Pre-installed VS Code extensions for Java development | ||
| 10 | + - Docker-based containerization for a consistent environment | ||
| 11 | + | ||
| 12 | + ## Getting Started | ||
| 13 | + | ||
| 14 | + ### Prerequisites | ||
| 15 | + | ||
| 16 | + - Docker installed on your machine | ||
| 17 | + - Visual Studio Code with the Remote - Containers extension | ||
| 18 | + | ||
| 19 | + ### Setup | ||
| 20 | + | ||
| 21 | + 1. Clone this repository: | ||
| 22 | + ```sh | ||
| 23 | + git clone https://github.com/Amrish-Sharma/javaDevContainer.git | ||
| 24 | + ``` | ||
| 25 | + 2. Open the repository in Visual Studio Code: | ||
| 26 | + ```sh | ||
| 27 | + code javaDevContainer | ||
| 28 | + ``` | ||
| 29 | + 3. Open the Command Palette (F1) and select `Remote-Containers: Open Folder in Container`. | ||
| 30 | + | ||
| 31 | + VS Code will build the container and start your development environment inside it. | ||
| 32 | + | ||
| 33 | + ### Using the Dev Container | ||
| 34 | + | ||
| 35 | + - The container includes the JDK and Maven, so you can run Java applications and manage dependencies directly inside the container. | ||
| 36 | + - Any changes to the source code will be reflected in the container. | ||
| 37 | + | ||
| 38 | + ### Customization | ||
| 39 | + | ||
| 40 | + You can customize the dev container by modifying the `devcontainer.json` file and the Dockerfile. For example, you can add additional tools, change the JDK version, or modify VS Code settings. | ||
| 41 | + | ||
| 42 | + ## Contributing | ||
| 43 | + | ||
| 44 | + Contributions are welcome! Please fork this repository and submit a pull request with your changes. | ||
| 45 | + | ||
| 46 | + ## License | ||
| 47 | + | ||
| 48 | + This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments