you have to run it using spark-submit
assuming you want to run it on a cluster
if you don’t, you could create a project that added spark as a dependency and then write a main entry class that does all the spark context setup and runs your spark job
I’ve personally never done that, but it’s equivalent to working locally in a repl so it should work fine.
Actually it didn't:( I added the deps but it asked me about various akka configuration entries that I knew nothing about... Maybe you could help me set them by telling me more of how does it work in the repl?