alvo/comment

Anax comment module.

1.3.9 2017-10-28 00:40 UTC

This package is not auto-updated.

Last update: 2024-04-14 02:24:13 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Build Status

Alvo comment module.

About

This package includes all needed parts to build a comment system using Anax.

Observe that there is no style included for exception of bootstrap 4 beta.

Setup

  1. add route.php file from vendor directory to your config directory

  2. copy route2 folder from vendor to your config directory

  3. add services from vendor/alvo/comment/config/di.php to your config/di.php file

  4. add templates from view folder in vendor catalog to your view folder

  5. add src/functions.php to your src folder

  6. add following to the autoloader

    "autoload": { "files": [ "src/functions.php" ] }

Database

In order to get things working you need to set up a mysql database. To do that, simply run sql/sqtup.sql file. You also have to copy over config/database.php to your own config folder.

Tests

I have my mock database on rpi up and running. So you can just user make test.

License

This software carries a MIT license.

 .  
..:  Copyright (c) 2017 Alexey V (alevor657@gmail.com)