How to: Dev Environment Setup - SWEZenith/Living-History-API GitHub Wiki
Prerequisite:
Install Java JDK 1.8
Install IntelliJ Idea (you can use any other, but we have used IntelliJ Idea 2017)
Install MongoDB
Steps
Set environment variables:
In Windows, open Environment Variables and add JAVA_HOME. Enter JDK file path. Example: C:\Program Files\Java\jdk1.8.0_151
Clone GitHub repo your local.
Start IntelliJ Idea and import project. When importing the project, select build.gradle file in your cloned local folder of the repo.
Run mongod to start local mongodb instance: Go to folder where you have install MongoDB and double click mongod.exe. Note: In Windows, it is necessary that you have the folder C:\Data\db before you run mongod.
Run gradle bootRun command to install dependencies, build and run.