[Nix-dev] Tips on deploying a Scala Play application

4levels 4levels at gmail.com
Tue Jul 5 21:52:43 CEST 2016


Hi Nix-devs,

This is a plain request for assistance / best practices for using Nixos
with Java / Scala / Play.  Akka with EventSourcing are also a topic of
interest.

I'm currently trying to get a Scala Play app up and running on my nixOps
deployed machines.  As I'm very unfamiliar with running Java based apps,
I'd like to know if someone has experience on the common pitfalls and tips
on keeping the servers healthy (I just caused my laptop's 8 cores to go
100% without being able to stop the server started by the activator call).

I've seen some related packages in nixpkgs and have many questions like eg.
do I need sbt (which seems to provide typesafe - activator) and a jdk on
the production servers or are is a jre sufficient? How do I deploy and run
a Java app developed locally?
And how do I set-up a local nixos vm for Java development?

I'm still investigating and learning a lot myself, so nix-related knowledge
is my main concern here (as I need to figure out the rest myself anyway ;-)

I'll be happy to share my findings and configuration / setup..


Kind regards,

Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160705/b4a70bb0/attachment.html>


More information about the nix-dev mailing list