joppot

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

mac ソフトウェア

Build PlantUML environment on Mac using brew

投稿日:

Pocket

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 *

関連記事

Allocate lo0 IP address using Mac login hook automatically

Abstract Hello everyone it’s me candle. In this time we would like to use the login hook of Mac and automatically allocate the local ip address. You can use the default 127.0.0.1 lolcal IP address on your Mac. However when using it with docker, you need to prepare other local IP address separately. Precondition You use Mac.

Write haml with Atom

English 日本語 Abstract Hello everybody, it’s candle. In this time we will write haml with Atom. I’m coding with emacs for all time. but sotimes I use atom. When I open a haml file, there is no coloring and syntax, I try to add plugin. Premise You have Atom editor.

How to send pdf from Mac to iphone or ipod using iBooks

English 日本語 Abstract Hello everyone, It’s me candle. In this time, I will show you how to send a pdf file from Mac to iphone or ipod. Sometimes I want to read the pdf document in the train, so I wrote the article about it. Before you send a pdf file to the iphone, you add the pdf to iBooks app. Then you will send the pdf with itunes. Precondition Mac PC iphone or ipod or ipad pdf file

Fix emacs powerline character gets corruption(mojibake) on Mac standard terminal or iTerm2

Abstract Hello everyone it’s me candle. In this time I will show you how to fix emacs powerline character corruption(mojibake). I am referring to this site. https://griffio.github.io/utils/2016/01/26/Spacemacs-OSX-Term/ I will explain both iterm2 and mac standard terminal. In my case I launch the Emacs with iterm2, the arrow of powerline gets garbled. Let’s fix. Precondition You use emacs Your emacs was installed powerline. You use emacs with iTerm2 or mac standard terminal.

Atom imports React component using import-js 2.2.0

Abstract Hello everybody it’s me candle. In this time we will import the component path into the file using import-js and Atom automatically. 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. Precondition Already exist React web environment I recommend you use the react project created by create-react-app command which I wrote the before article. Atom was installed in your computer.

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