DK-Hostmaster / preact-demo-client-mojolicious

DK Hostmaster pre-activation service demo client written in Perl and Mojolicious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DK Hostmaster pre-activation service demo client


⚠️ TAKE NOTICE! ⚠️

This has been decommissioned by the end of August 2018.

Please contact us if you have any questions:

tech@dk-hostmaster.dk


Table of Contents

screenshot

VERSION

This documentation describes version 2.0.X

USAGE

`$ morbo -l https://*:3000 client.pl`

Open your browser at:

https://127.0.0.1:3000/

Using docker

The application can be used using docker

$ docker build -t preact-demo-client .

$ docker run --rm -p 3000:3000 preact-demo-client

Open your browser at:

https://localhost:3000/

INSTALLATION

This client requires a Perl interpreter.

You need to install the Mojolicious framework and then you need to install the dependencies listed below.

DEPENDENCIES

The client is implemented using Mojolicious::Lite in addition the following Perl modules are used all available from CPAN.

A cpanfile and related cpanfile.snapshot are included in the repository and can be used in conjunction with Carton if you want to evaluate the client without interfering with your existing Perl installation

$ carton

$ carton exec morbo -l https://*:3000 client.pl

In addition to the Perl modules, the client uses Twitter Bootstrap and hereby jQuery. These are automatically downloaded via CDNs and are not distributed with the client software.

DIAGNOSTICS

Random field validation errors

If you are observing errors, where each request report a problem with a new parameter/field, this can be a symptom that you are not using https, please see: usage.

SEE ALSO

The main site for this client is the Github repository.

For information on the service, please refer to the specification from DK Hostmaster or the service main page with DK Hostmaster.

COPYRIGHT

This software is under copyright by DK Hostmaster A/S 2015-2016

LICENSE

This software is licensed under the MIT software license

Please refer to the LICENSE file accompanying this file.

About

DK Hostmaster pre-activation service demo client written in Perl and Mojolicious

License:MIT License


Languages

Language:Perl 99.2%Language:Dockerfile 0.8%