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 *

関連記事

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

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 add extension to Ungoogled chromium

English 日本語 Abstract Hello everybody, It’s candle. I don’t use Google Chrome so much because I am firefox user, but sometimes I need to use Chrome for extensions. Google Chrome is slow, and there are some personal information protection is loose. Detail is here. https://github.com/Eloston/ungoogled-chromium So, I use ungoogled chromium. The problem of ungoogle chromium is that is not easy to install extensions. In this article, I’ll show you how to install plugins. This article is according to the under link. https://github.com/Eloston/ungoogled-chromium/blob/master/FAQ.md Premise Ungoogled chromium has been installed

Set up subdomain for each directory using virtual host of apache 2.4 and Mac hosts

English 日本語 Abstract Hello everybody, It’s candle. This time I will show you how to divide directories by subdomain with mac easily. For example, it is useful when such situation. If you are developing some wordpress project with apache, there are URL like the following. http://localhost:8080/workspace/alice_blog/index.html http://localhost:8080/workspace/tom_service/index.html It is the long URL. If you choose this article way, http://alice.localhost:8080/index.html http://tom.localhost:8080/index.html you can make the above URL. Premise mac apache2.4 Sample project

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