#!/usr/bin/env perl

use strict;
use warnings;
use AnyEvent;
use EV;

use Carp;

$SIG{__DIE__} = \&Carp::confess;

# run with morbo (dev mode, with hot reload):
# cd direct-utils/dscribe/web
# morbo script/dscribe --listen 'http://127.0.0.5:$PORT'

# run in production mode
# cd direct-utils/dscribe/web
# while [ 1 ] ; do script/dscribe daemon -m production --listen 'http://127.0.0.5:$PORT' ; sleep 1 ; done

use lib 'lib';

# Start command line interface for application
require Mojolicious::Commands;
Mojolicious::Commands->start_app('Dscribe');
