From 48774c8a060fa8aa0c7d8214bd4a55fb27c4e375 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 21 Mar 2020 13:58:58 -0400 Subject: [PATCH] Hello, world! This commit sets up the basic Mojolicious server that we'll be using. --- README | 6 ++++++ cpanfile | 1 + gloat.pl | 10 ++++++++++ 3 files changed, 17 insertions(+) create mode 100644 cpanfile create mode 100755 gloat.pl diff --git a/README b/README index 72e14d5..447babc 100644 --- a/README +++ b/README @@ -2,3 +2,9 @@ euchre.live =========== For my family <3 + +Installation +------------ +First, get a working Perl and cpanm. + + $ cpanm --installdeps . diff --git a/cpanfile b/cpanfile new file mode 100644 index 0000000..2e82d7b --- /dev/null +++ b/cpanfile @@ -0,0 +1 @@ +requires 'Mojolicious'; diff --git a/gloat.pl b/gloat.pl new file mode 100755 index 0000000..49977e7 --- /dev/null +++ b/gloat.pl @@ -0,0 +1,10 @@ +#!/usr/bin/env perl +# gloat.pl -- the Server +# +# Those who Euchre Gloat never Win +# ~ Andy Karle +use Mojolicious::Lite; + +get '/' => { text => 'Letsigo!' }; + +app->start; -- libgit2 1.1.1