joppot

コピペで絶対動く。説明を妥協しない

mac ソフトウェア

Build PlantUML environment on Mac using brew

投稿日:


Abstract

Hello everybody it’s me candle.
In this article, I would like to build a plantUML environment which can make UML easily on Mac.
I have been used starUML for making UML. plantUML seems to be much more useful than that.


Precondition

You already use brew.

Check java version

I think that java is already installed in your mac pc.
PlantUML can be run with mac default java.
So you launch terminal app and check the java version with the below command.

java -version

Probably it can be work in java version around 1.8.x .

Install graphviz

graphviz is a graph creation tool.
It is useful when writing graphs mainly handling nodes and lines.
plantUML also use it when draw a graph. let’s install it.

brew install graphviz


Install plantUML

Since plantUML also exsist in brew packages, you can install it easily.

brew install plantuml

After installation, you would type plantuml -v

plantuml -v

ok

Hello plantUML

Let’s draw a UML.
Create uml file in a temporary folder.

touch hello.uml

Open the hell.uml with your favorite editor and write it.

@startuml
Bob -> Alice : hello
@enduml

Save it.
Run this command on terminal.

plantuml hello.uml

Then a png image file is created.

See the hello.png.
UML is drawn successfully.


Conclusion

UML is a really useful tool to carry out projects smoothly.

スポンサードリンク

If you think this article is good, share it please

-mac, ソフトウェア
-,

執筆者:


comment

Your email address will not be published. Required fields are marked *

関連記事

In emacs on iTerm2, resolve you can’t enter symbol key binding such as C-; C-: C-> C-< C-. C-,

Abstract Hello eveyone it’s me candle. This time I will show you how to solve the problem that you can’t use symbol keybind on your iTerm2 emacs. Basically, emacs on iTerm2 can’t use key binding of control + symbol. The detail thing is written in this article. (japanese) http://memo.sugyan.com/entry/20120224/1330051378 Acouding to the article Apparently it seems that the range of ASCII that ctrl key can control is decided. This post referred to the below linked article. I tried how to setup symbol key binding a few years ago and I was frustrated. But I solved it by that. it was …

Connect to host mysql from docker container of “docker for Mac”

Abstract Hello everyone it’s me candle. In this post I will show you how to connect to the host mysql from the docker container of mac. For example, you may connect to mysql when running rails, wordpress etc on docker. You may prepare docker of mysql, but it can’t hold data, it is troublesome such as startup time. Then I think that it is very useful if docker can access to the host mysql. Precondition You use docker for mac

Import React components using Emacs and import-js2.2.0

Abstract Hello everybody it’s me candle. In this time we will import the component path with emacs and import-js. React recommends to write one component in one file, when development becomes to be big, the number of component increase. If you use 10 components with one Container, you need to write 10 import statements. import-js helps us from such troublesome work. Caution It worked well on the react web but in react native import-js didn’t successfully find out the component. Probably I think that there are some lack of the setting of import-js. Precondition Already exist React web environment I …

Limit the number of text characters in wordpress article index by plugin

English 日本語 Abstract Hello everybody, It’s candle. Nowadays, when I used free themes for wordpress at the company, I noticed that. Many free theme use the_content function which expands all the contents of individual articles in the article list, and it is very irritating. However, editing a free theme is troublesome. We use the “Advanced Excerpt” plugin to limit the number of characters displayed in the article list and make it easy to see. We use the free theme “twentyeleven” as a sample. Before After Premise There is a wordpress.

With nodenv, upgrade installation list and node version.

Abstract Hello everyone I’m candle. In this time I will show you how to update nodenv installation list and node version. The development of node is very active and the version of node will advance quickly. Let’s update node version using nodenv. Condition You have installed nodenv by brew. Upgrade nodenv installation list The installation list of the old nodenv becomes old with the passage of time. Even if you run this command, the latest node may not be displayed. nodenv install –list This is because the list information that node-build has is out of date. So we will upgrade …

Profile


I work in the venture company as a CTO. I start to write program in University, first I learned java, C++ and PHP. In the company, I'm developing web services by Rails. I do like to automation.

スポンサードリンク

Archives