-
Install IntelliJ IDEA Community Edition
-
Install Java 8 SDK
-
Download and unpack Maven 3
-
Set JAVA_HOME and configure Maven
-
Verify installation running
mvn -version
andjava -version
. You should see version number.
-
Install IntelliJ IDEA Community Edition
-
Install Brew
-
Install Java 8
-
Install Maven -
brew install maven
-
Verify installation running
mvn -version
andjava -version
. You should see version number.
- Click Fork in top right corner
- Do next steps on your fork. You can verify that URL contains your account name instead of
slawekradzyminski
-
Download API jar from https://drive.google.com/file/d/1lPMnqKBpvHAD_qLYI2YN-cL6M9MqejPY/view
-
Run Jar from command line (open terminal via 'cmd' command in Windows)
java -jar vistula-api.jar
- After around one minute verify that you can access Swagger
http://127.0.0.1:9999/swagger-ui.html
- Application can be stopped by closing terminal or pressing CTRL + C
- Open IntelliJ and select File -> New -> Project from Version Control -> Git
- Copy paste your project url to tab. You should see your account name instead of 'slawekradzyminski'.
- After project has loaded open green notification in bottom-right corner. Click on Add as Maven Project
- Open ArenaTest class and click Setup SDK i top-right corner.
- Pick Java 8
- Go to InformationControllerTest class and run test. It should work (assuming that API is running on localhost).