I am building an app with Play as frontend and akka cluster as backend. Right now both are under the same sbt project. With "dist" in sbt, I could only get one .zip package which has the script to start the play as well as akka cluster. So I am wondering is there are a way to generate multiple packages such as one for Play, one for akka cluster, so that I can easily deploy each. Or is there any recommended good practices for this kind of project?
Asked
Active
Viewed 63 times
0
-
You could use sbt subprojects and generate distinct *.zip per each subproject – kardapoltsev May 20 '15 at 07:19
1 Answers
0
You can define two sbt
targets with differrent main classes but it isn't a good pratice. The proper way is creating two subprojects and package each of them separatly.

mgosk
- 1,874
- 14
- 23