Requirements
- Windows
- macOS
Requirements for running the API locally
Mandatory
- Install Java 11 and set JAVA_HOME environment variable to the directory java is installed and make sure MAVEN_HOME environment variable is not set
- CosmosDB Emulator 2.4.5+
- An IDE
Optional
Requirements for running the API locally
Mandatory
- homebrew
- azure-cli: brew install azure-cli
- Install Java 11:
$ wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_mac_hotspot_11.0.9_11.tar.gz
- Move to the folder where you downloaded the file and extract it :
$ tar -xf OpenJDK11U-jdk_x64_mac_hotspot_11.0.9_11.tar.gz
- Add JAVA to you path:
export PATH=$PWD/OpenJDK11U-jdk_x64/Contents/Home/bin:$PATH
- An IDE
- Make sure no environment variables set for MAVEN_HOME
- CosmosDB Emulator 2.4.5+
Optional
- Add this to the path to your dotfiles: .bash_profile or .zshrc depending on what shell you are running
- IntelliJ IDEA
note
The current version of Ensono Stacks is using Java 11 (Current LTS, recommended).