TT2-Play-Area

 view release on metacpan or  search on metacpan

Dockerfile  view on Meta::CPAN

WORKDIR /opt/play-area

# test but don't install test deps.
ARG EXTRA_CPANM=""
RUN cpanm --test-only --installdeps . $EXTRA_CPANM && cpanm --notest --quiet --installdeps . $EXTRA_CPANM
COPY . /opt/play-area

RUN groupadd -r playarea && useradd -r -d /home/playarea -g playarea playarea
USER playarea

CMD starman --preload-app -I /opt/play-area/lib/ /opt/play-area/bin/tt2-play-area.psgi

README  view on Meta::CPAN

        docker run -d -p5000:5000 quay.io/colinnewell/tt2-play-area:latest

    This will expose it on port 5000 on localhost, so you should be able to
    browse to http://localhost:5000.

    Alternatively, if you've installed the module from CPAN then you can
    run it using plackup like this,

        plackup `which tt2-play-area.psgi`

    Note that if you run with starman you need to use the --preload-app
    option otherwise you will get 403 errors when trying to process the
    templates because the CSRF prevention mechanism gets in the way.

    Or if you checkout the github repo like this,

        cpanm --installdeps .
        plackup -I lib bin/tt2-play-area.psgi

AUTHOR

lib/TT2/Play/Area.pm  view on Meta::CPAN

    docker run -d -p5000:5000 quay.io/colinnewell/tt2-play-area:latest

This will expose it on port 5000 on localhost, so you should be able to
browse to L<http://localhost:5000>.

Alternatively, if you've installed the module from CPAN then you can run it
using plackup like this,

    plackup `which tt2-play-area.psgi`

Note that if you run with starman you need to use the C<--preload-app>
option otherwise you will get 403 errors when trying to process the
templates because the CSRF prevention mechanism gets in the way.

Or if you checkout the github repo like this,

    cpanm --installdeps .
    plackup -I lib bin/tt2-play-area.psgi

=head1 AUTHOR



( run in 1.892 second using v1.01-cache-2.11-cpan-e93a5daba3e )