First install Brew on your MAC
- Setup Brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update
- brew tap caskroom/versions
- brew cask install java8
- Install IntelliJ IDEA
- Navigate to RUN -> Edit Configurations -> Add New Configuration -> Application and add following properties
- Main class : com.razorpay.batch.BatchApplication
- VM options : -Dspring.profiles.active=dev
- Working directory : Source code folder
- JRE : 1.8