This is simple example of packaging application in sbt native packager style.
You need to run mill root.packageIt
to make an assembly. Results will be in out/root/packageIt/dest
directory.
Works with mill 0.1.7
-
Execute
./package.sh 2.12.4
or./package.sh 2.11.12
to package application. This will produce distributable filedist.tar.gz
, that you can untar and run withbin/run
-
To untar and run execute
./run.sh
. It will untar distributable and run application. -
Check that it works with
curl -XGET localhost:9000/about-me