Initial scaffolding
This commit is contained in:
1 parent
15a0ff43de
commit
989415ec1f
20 files changed
+743
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
use warnings;
|
||||
use FindBin qw($RealBin);
|
||||
use lib "$RealBin/../lib";
|
||||
|
||||
# TODO: Parse --config flag (default: $RealBin/../config/mnemosyne.conf)
|
||||
# TODO: Load Mnemosyne::Config, Mnemosyne::DB
|
||||
# TODO: Build Mojolicious::Lite app:
|
||||
# POST /<webhook_path> => validate secret token, route to Mnemosyne::Webhook
|
||||
# TODO: Start app on 127.0.0.1:<listen_port> (never bind 0.0.0.0)
|
||||
|
||||
print "mnemosyne-bot: not yet implemented\n";
|
||||
Reference in new issue
Block a user