joppot

The program absolutely runs in copy paste

mac Software

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, Software
-,

執筆者:


comment

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

関連記事

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

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.

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

Construct an Atom of eslint corresponding to react + es6

Abstract Hello everyone it’s me candle. This time we will introduce Atom + eslint It is awesome easy to install it. Nowadays eslint became to be mainstream. It has become used not only in Atom but also everywhere. Precondition Node is installed Atom is Installed

Develop React in emacs in rjsx-mode

English 日本語 Abstract Hello everyone this is candle. In this time I would like to introduce rjsx-mode of major-mode for react development of emacs. The development of “react” has been tried and errored between emacs users, such as using web-mode or js2-jsx-mode of js2-mode. Also I had been used js2-jsx-mode before rjsx-mode. Since rjsx-mode is an extension of js2-mode, users of js2-mode can use it without discomfort. rjsx-mode has auto complete function of jsx. it’s fantastic. Precondition You use emacs You use melpa or el-get

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