to run from the IDE, right-click on main function ...
# intellij
y
to run from the IDE, right-click on main function and select Run from the context menu