import static javarepl.Utils.randomServerPort;
public class WebConsoleServer {
public static void main(String... args) throws Exception {
ServerConfiguration configuration = defaultConfiguration().port(port(args).getOrElse(randomServerPort()));
WebConsoleApplication application = new WebConsoleApplication(basePath("/"));
new RestServer(application, configuration);
}