You will need to have the following installed on your machine:
- Java 8 (version 1.8) or above.
- Apache Maven 3.6.0 or above.
If you are using IntelliJ, installing EntityC plugins greatly enhances your development. Although only code highlighting and template code formatting is supported, just that is very helpful.
| Plugin | Description |
|---|---|
Entity-Model-JetBrains-Plugin-0.1.zip |
Supports syntax highlighting for entity definition language files (.edl). |
Entity-Template-JetBrains-Plugin-0.1.zip |
Supports syntax highlighting for the template language files (.eml). |
These plugin files are located in the bin directory of this tutorial.
To install:
- Open IntelliJ and go to Preferences....
- On the left side of the Preferences panel, select Plugins.
- Just below the panel title bar is another bar that has a settings gear icon towards the right. Click on that gear icon and select Install Plugin from Disk....
- Now select the first plugin in the table above from the tutorial's
bindirectory and hit ok. - At this point, do not restart IntellJ, instead repeat the procedure for the other plugin above.
- Even after the second plugin install, do not restart IntelliJ even when it prompts you.
- Hit OK on the preferences panel to save and close it.
- Quit IntelliJ and re-launch
The reason quitting and relaunching IntelliJ instead of restarting is because sometimes restarting from its prompts does not work properly.
The best place to start is to take the Entity Compiler tutorial. It steps you through the basics then all the way up to the more advanced features. When you have finished that base tutorial there is another tutorial that steps you through building a complete Spring Boot based microservice.