spark SBT Template.
To use it, import it into INtelliJ as an SBT Project.
Then you should be able to run standard SBT tests/compile tasks etc inside your idea and also in standalone mode.
git clone https://github.com/Ludwsam/SparkTemplate/
remove folders that dont apply to your project.
Now open intellij, and import.
Pick "SBT" project as the template
Run the Tester class via intelliJ
Change the .git/config to point to your repository.