Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fixed plantuml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Apr 19, 2019
1 parent 534f247 commit 784abe4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 54 deletions.
2 changes: 1 addition & 1 deletion containers/plantuml/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See LICENSE in the project root for license information.
#-----------------------------------------------------------------------------------------

FROM java:11
FROM openjdk:8

# Install git, process tools
RUN apt-get update && apt-get -y install git procps
Expand Down
26 changes: 6 additions & 20 deletions containers/plantuml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Summary

*Use PlantUML without installing all the dependencies locally. Includes Java, GraphViz, and the PlantUML extension.*
*Demonstrates using PlantUML local rendering without installing dependencies. Includes Java, GraphViz, and the PlantUML extension.*

| Metadata | Value |
|----------|-------|
Expand All @@ -12,27 +12,13 @@

## Usage

First, install the **[Visual Studio Code Remote Development](https://aka.ms/vscode-remote/download/extension)** extension pack if you have not already.
[See here for information on using this and other definitions in your project](../../README.md#using-a-definition). There are no addtional steps required.

To use the definition with your own project:
### Try it

1. Copy the `.devcontainer` folder into your project root.
2. Reopen the folder in the container (e.g. using the **Remote-Container: Reopen Folder in Container** command in VS Code) to use it unmodified.

If you prefer, you can look through the contents of the `.devcontainer` folder to understand how to make changes to your own project.

If you want to try out the test project instead, run **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of the entire folder.

Check out the samples folder or just do a markdown preview on this file once you've opened this folder in the container!

```plantuml
@startuml
Brain -> Brain: Wait, VS Code can do that?
Brain -> Mouth: Say "Cool!"
Mouth -> Ear: Cool!
Ear -> Brain: Heard myself say Cool!
@enduml
````
1. Run **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of this entire folder.
2. The container will build and VS Code will connect.
3. Open `sample.plantuml` in the `test-project` folder and hit Alt-D.

## License

Expand Down
33 changes: 0 additions & 33 deletions containers/plantuml/test-project/markdown-sample.md

This file was deleted.

0 comments on commit 784abe4

Please sign in to comment.