WARNING: This page is a guide for 1.x series. See here instead to learn about the latest


As you know, it’s a servlet application

Skinny applications run on any Servlet container.

So you just need to build a war file and deploy it to your production servers.

Packaging war file

It’s very simple to do that. Just

./skinny package

You will see the created war file under build/target/scala_2.10.

If you want to deploy the war file to a Maven repository (e.g. Artifactory), just run ./skinny publish after customizing the build settings file.

Creating stand alone app

What’s more, you can easily create a stand alone jar file by just running the following command:

./skinny package:standalone

After a while, you will get a standalone jar file.

java -jar standalone-build/target/scala-2.10/skinny-standalone-app-assembly-0.1.0-SNAPSHOT.jar

You can pass configuration via system properties. Otherwise, it’s also possible to use environment variables.

java -jar -Dskinny.port=9000 -Dskinny.env=production -Dskinny.prefix=/foo/ \


The following options are available to configure your Skinny applications. You can pass the following values from environment variables or system properties.

skinny.env or app.env or SKINNY_ENV or APP_ENV

Default value is “development”. If skinny.env system property is “production”, application load the “production” settings from “src/main/resources/application.conf”.

You can access the value via skinny.SkinnyEnv in application.

skinny.port or SKINNY_PORT

This value is only for stand alone apps. Default value is 8080. You can customize the port number on which the stand alone app server listens.

skinny.prefix or SKINNY_PREFIX

This value is only for stand alone apps. Default value is “/”. You can customize the context path for the servlet app.

If you find a typo or mistake in this page, please report or fix it. How?