AproJo
view release on metacpan or search on metacpan
lib/AproJo.pm view on Meta::CPAN
=head1 NAME
AproJo - A time recording application based on Mojolicious
=begin html
<a href='https://travis-ci.org/wollmers/AproJo'><img src='https://travis-ci.org/wollmers/AproJo.png' alt="AproJo" /></a>
<a href='https://coveralls.io/r/wollmers/AproJo?branch=master'><img src='https://coveralls.io/repos/wollmers/AproJo/badge.png?branch=master' alt='Coverage Status' /></a>
<a href='http://cpants.cpanauthors.org/dist/AproJo'><img src='http://cpants.cpanauthors.org/dist/AproJo.png' alt='Kwalitee Score' /></a>
<a href='http://badge.fury.io/pl/AproJo'><img src='https://badge.fury.io/pl/AproJo.svg' alt='CPAN version' height='18' /></a>
=end html
=head1 SYNOPSIS
$ aprojo setup
$ aprojo daemon
=head1 DESCRIPTION
L<AproJo> is a Perl web application.
=head1 STATUS
L<AproJo> is still in pre-Alpha state. It still misses essential features to be useful in production.
=head1 INSTALLATION
L<AproJo> uses well-tested and widely-used CPAN modules, so installation should be as simple as
$ cpanm AproJo
when using L<App::cpanminus>. Of course you can use your favorite CPAN client or install manually by cloning the L</"SOURCE REPOSITORY">.
=head1 SETUP
=head2 Environment
Although most of L<AproJo> is controlled by a configuration file, a few properties must be set before that file can be read. These properties are controlled by the following environment variables.
=over
=item C<APROJO_HOME>
This is the directory where L<AproJo> expects additional files. These include the configuration file and log files. The default value is the current working directory (C<cwd>).
=item C<APROJO_CONFIG>
This is the full path to a configuration file. The default is a file named F<aprojo.conf> in the C<APROJO_HOME> path, however this file need not actually exist, defaults may be used instead. This file need not be written by hand, it may be generated ...
=back
=head2 The F<aprojo> command line application
L<AproJo> installs a command line application, C<aprojo>. It inherits from the L<mojo> command, but it provides extra functions specifically for use with AproJo.
=head3 config
$ aprojo config [options]
This command writes a configuration file in your C<APROJO_HOME> path. It uses the preset defaults for all values, except that it prompts for a secret. This can be any string, however stronger is better. You do not need to memorize it or remember it. ...
L<AproJo> does not need to be configured, however it is recommended to do so to set your application's secret.
The C<--force> option may be passed to overwrite any configuration file in the current working directory. The default is to die if such a configuration file is found.
=head3 setup
$ aprojo setup
This step is required. Run C<aprojo setup> to setup a database. It will use the default DBI settings (SQLite) or whatever is setup in the C<APROJO_CONFIG> configuration file.
=head1 RUNNING THE APPLICATION
$ aprojo daemon
After the database is has been setup, you can run C<aprojo daemon> to start the server.
You may also use L<morbo> (Mojolicious' development server) or L<hypnotoad> (Mojolicious' production server). You may even use any other server that Mojolicious supports, however for full functionality it must support websockets. When doing so you wi...
$ hypnotoad `which aprojo`
where you may replace C<hypnotoad> with your server of choice.
=head2 Logging
Logging in L<AproJo> is the same as in L<Mojolicious|Mojolicious::Lite/Logging>. Messages will be printed to C<STDERR> unless a directory named F<log> exists in the C<APROJO_HOME> path, in which case messages will be logged to a file in that director...
=head1 TECHNOLOGIES USED
=over
=item *
L<Mojolicious|http://mojolicio.us> - a next generation web framework for the Perl programming language
=item *
L<DBIx::Class|http://www.dbix-class.org/> - an extensible and flexible Object/Relational Mapper written in Perl
=item *
L<Bootstrap|http://twitter.github.com/bootstrap> - the CSS/JS library from Twitter
=item *
L<jQuery|http://jquery.com/> - jQuery
=back
=head1 SEE ALSO
=over
=item *
L<Contenticious> - File-based Markdown website application
=back
( run in 0.608 second using v1.01-cache-2.11-cpan-6aa56a78535 )