#!/usr/bin/env perl
use strict;
use warnings;

our $VERSION = '0.3.1'; # VERSION

use File::Basename 'dirname';
use File::Spec;

use lib join '/', File::Spec->splitdir(dirname(__FILE__)), 'lib';
use lib join '/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib';

# Check if Mojo is installed
eval 'use Mojolicious::Commands'; ## no critic
die <<EOF if $@;
It looks like you don't have the Mojolicious Framework installed.
Please visit http://mojolicio.us for detailed installation instructions.

EOF


# Application
$ENV{MOJO_APP} ||= 'App::Wubot::Web';

#app->secret('Wubot Web User Interface');

# Start commands
Mojolicious::Commands->start;

__END__

=head1 NAME

 wubot-webui - start the Mojolicious wubot web interface

=head1 VERSION

version 0.3.1

=head1 SYNOPSIS

  wubot-webui

=head1 DESCRIPTION

Start up the wubot web interface.
