Skip to content

sugar84/test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  To run app test_task you need:
 - install Dancer;
 - install Dancer related modules:
   - HTTP::Server::Simple::PSGI
   - HTTP::Body
   - HTTP::Types
   - URI
 - install app related modules:
   - YAML
   - Template (and Template Toolkit too)
   - Dancer::Plugin::Database (if not installed)
   - DBI (if not installed)
 - take sources of the app
 - cd app/dir and run:
   - tool/db_helper.pl 
     (it creates db schema, it's needed to be ran from root dir of app)
   - tool/insert_into_db.pl
     (it inserts content into table 'pages')

  Default configuration - 'development', if you have to change it to production,
enter into config.yml and replace value "development" of parameter "environment"
with parameter "production".

  When you have installed all related modules simply run 
from the root dir of the application:

  ./test_task.pl

  And app will be ran and will listen *:3000 port.

  If want you "auto_reload" option to be enabled, install modules Module::Refresh 
and Clone.

  If you want ask ome questions: email me to sugar.61rus@gmail.com

About

Tree type comments made in Dancer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published