In this semester there’s a course required in my program which is called Software Engineering Process & Tools. Basically it needs to form a group in the tutorial and then pick one of the four projects they’ve offered. Those four projects are some famous open source projects on GitHub, written in four different programming languages with thousands of users. We need to improve the project and add some functions according to the assignment specifications. I initially preferred choosing PHP (PhpMyAdmin) or Python (OpenPaperless) but my friends in the group prefer the Java one, which is Teammate.

Though I’ve tried writing some tiny helloworld-level Spring Boot applications with Java or Kotlin before, I haven’t looked into Java EE related stuff too much. So this is also the first time I really learn Java EE from scratch.

Here I’m using Java 8 1.8.172/1.8.181 with IntelliJ IDEA 2018.2 as my IDE on macOS 10.13.6, Windows 10 1804 and Ubuntu Budgie 18.04.1

This blog post is currently used for helping my friends in the group who may not be very familiar with Intellij IDEA.

NodeJS installation

In my opinion the best way of installing Node is using the package manager if possible. See here for more details:

You can also use their installation package to install if you wish. But it may be harder to do that on Linux distro (you need to set the environment variables by yourself) and you may also miss out some important updates.

Google Cloud SDK setup

Firstly we need to install Google Cloud SDK. Follow the Google’s instruction here:

After the installation, remember to run gcloud init to log in with your Google account. Then you may need to install the Java plugin for it by running gcloud components install app-engine-java.

Importing the project

Firstly, just follow the instruction precisely from Teammate official site:

Then when the project is imported and indexed, go to Tools -> Google Cloud Tools -> Add App Engine Support -> Google App Engine Standard:

after that, go to Run -> Run…

then “Edit Configurations”

Add a “Google App Engine Standard Local Server” by this way, shown below:

Press “OK” and it should work now.