Skip to content

Commit 10d221b

Browse files
authored
Merge pull request #25 from Latrodect/feature/docker_compose_rules
md files fix
2 parents c448dc2 + f784010 commit 10d221b

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# Changelog
22

3-
## [1.1.3] Unreleased
4-
- Autorun option will be added to Docker Compose Command.
5-
- When its enabled, docker-compose.yaml created and docker compose up docker-compose.yaml command runs auto.
3+
## [1.3.0] Unreleased
4+
- Docker Bash Repo Registry
5+
- Docker Bash Repo Push
6+
- Kubernetes Bash Deployment
67

7-
## [1.1.2] - 2023-08-10
8+
## [1.2.0] - 2023-08-08
89
- Initial release
10+
- Autorun docker compose up.
11+
- Multiple Environment Variable Setup
912

10-
When creating docker-compose.yaml, user can insert multiple environment variables.(New Feature)
11-
Also some bugs are fixed.
12-
K8S file and Dockerfile generation command indent error fixed.
13-
14-
[1.1.2]: https://github.com/Latrodect/Backdoor-VSCode-Extension-for-K8S-Setup-and-Code-Review/releases/tag/v1.1.2
13+
[1.2.0]: https://github.com/Latrodect/Backdoor-VSCode-Extension-for-K8S-Setup-and-Code-Review/releases/tag/v1.2.0

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The **Backdoor Kubernetes & Docker Helper and Code Reviewer** extension for Visu
55
## Features
66

77
- Kubernetes and Docker folder structure and file generator.
8-
- Automated code analysis to identify common issues and coding standards violations.
8+
- Create Docker Compose yaml
99
- Add inline comments to specific lines of code for discussions and feedback.
1010
- AI-powered suggestions to provide constructive feedback for code reviews.
1111

@@ -17,24 +17,35 @@ The **Backdoor Kubernetes & Docker Helper and Code Reviewer** extension for Visu
1717
3. Search for "Backdoor Code Reviewer" and click "Install".
1818

1919
## Usage
20-
### Generate Kubernetes Deployment Files
20+
### Open Backdoor Dashboard for Detailed Information
2121

2222
1. Use the keyboard shortcut `Ctrl+I` to trigger the "Backdoor: Dashboard" command.
2323
2. This dashboard include more detailed documentation of this extension.
2424

2525
### Generate Kubernetes Deployment Files
2626

27+
<img src="https://kubernetes.io/images/kubernetes-horizontal-color.png" width="50" height="50">
28+
2729
1. Use the keyboard shortcut `Ctrl+F` to trigger the "Backdoor: Generate Kubernetes Files" command.
2830
2. Enter the names of your apps (e.g., backend, frontend) separated by commas.
2931
3. Backdoor will create Kubernetes YAML files for your apps.
3032

3133
### Generate Docker Files
3234

35+
<img src="https://d1.awsstatic.com/acs/characters/Logos/Docker-Logo_Horizontel_279x131.b8a5c41e56b77706656d61080f6a0217a3ba356d.png" width="50" height="50">
36+
3337
1. Use the keyboard shortcut `Ctrl+D` to trigger the "Backdoor: Generate Docker Files" command.
3438
2. Enter the root of your project (e.g., /src/fronend) separated by commas.
3539
3. Enter the names of your apps (e.g., backend, frontend) separated by commas.
3640
4. Backdoor will create Dockerfile template for your project.
3741

42+
### Generate Docker Compose
43+
44+
1. Use the command palette (`Ctrl+Shift+P`) and search for "Backdoor Docker Compose: Generate Docker Compose YAML".
45+
2. Enter the how many service do you have.
46+
3. Enter service name and port.
47+
4. Enter environment variables of that service.
48+
5. Provide these information for each service.
3849
### Analyze Code
3950

4051
Note: This function not completed yet. When its completed you can analyze your code.

out/extension.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/extension.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function getWebviewContent(webview: vscode.Webview): string {
6161
<br>
6262
<hr>
6363
<h2>How to Generate docker-compose.yaml File</h2>
64+
<p style="color:white;"> If autorun enabled, make sure <stron>docker compose</strong> setup correctly. <p>
6465
<p style="color:white;"> Type CTRL + SHIFT + P and select <strong>Backdoor Docker Compose: Generate Docker Compose YAML</strong>. Provide how many services do you have. <p>
6566
<p style="color:white;"> Type your service name and port. After that step specify your environment variables. <p>
6667
<p style="color:white;"> Apply this steps for each service. <p>

0 commit comments

Comments
 (0)