Sign inSign up

kielstr/coding_task_be

By kielstr

Updated almost 9 years ago

Kiel R Stirling's submission for Strategic Data's Code task BE

Image
0

10K+

kielstr/coding_task_be repository overview

Building, running and accessing.

Using Docker

From the cloud

    docker run -d -p 8080:80 kielstr/coding_task_be
   
   

Or build your own container

DockerFile can be found in the root of this repository.

To build this application execute the following.

    docker build -t coding_task_be .;

Then to run it run.

    docker run -d -p 8080:80 coding_task_be
    

Non Docker

    curl -L http://cpanmin.us | perl - App::cpanminus;
    
    cpanm Dancer2 Starman;
    
    apt-get update && apt-get -y install wamerican;
    
    git clone https://github.com/kielstr/Coding-task-BE.git;
    
    cd Coding-task-BE;
    
    plackup -s Starman --workers=10 -p 80 -a bin/app.psgi

Access it like..

    You can ping the service.

            curl http://localhost:8080/ping


    Word building is accessed via 2 calls. 

            For version 1 of the code.
                    curl http://localhost:8080/wordfinder/dgo

            For version 2 of the code.
                    curl http://localhost:8080/wordfinder2/dgo

All questions to [email protected].

Enjoy!

Tag summary

Content type

Image

Digest

Size

349.6 MB

Last updated

almost 9 years ago

docker pull kielstr/coding_task_be