lihaoyi / hands-on-scala-js

Better documentation for Scala.js
142 stars 52 forks source link

example packaging up runnable server #14

Open drdozer opened 9 years ago

drdozer commented 9 years ago

The example of a client/server app using spray.io is great. The one bit it is missing for me is how to package this server up so that it can be run anywere without using sbt. For example, the pack plugin could be used to provide a launch batch script, or perhaps there are ways to package up the spray side as a servlet or as a spray stand-alone server or something. I realise this is a bit outside the core of scala-js, but it's something we all have to do when actually deploying an app.

lihaoyi commented 9 years ago

Seems reasonable. The example is already all ready for deployment to Heroku, because it is. I just need to write some english words to talk about it more.