2017 © Pedro Peláez
 

library comment

Anax COMMENT module.

image

marcusgsta/comment

Anax COMMENT module.

  • Thursday, October 12, 2017
  • by marcusgsta
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 20 Versions
  • 0 % Grown

The README.md

Marcusgsta COMMENT

Latest Stable Version Join the chat at https://gitter.im/marcusgsta/comment Build Status CircleCI Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Maintainability, (*1)

Marcusgsta COMMENT module., (*2)

Install

Install using composer and then integrate the module with your Anax installation., (*3)

Install an anax base

anax create name-of-your-app ramverk1-site-develop

Install with composer

composer require marcusgsta/comment

Configuration files for Comment System

rsync -av vendor/marcusgsta/comment/config/{database.php,navbar.php,di-for-testing.php} config/

Config files for testing

rsync -av vendor/marcusgsta/comment/config/test config/test/

Router files

rsync -av vendor/marcusgsta/comment/config/route/ config/route/

Views

rsync -av vendor/marcusgsta/comment/view/ view/

Database files

rsync -av vendor/marcusgsta/comment/data/ data/

Set permissions on database folder and file

sudo chmod 777 data && chmod 666 data/db.sqlite

CSS files

rsync -av vendor/marcusgsta/comment/htdocs/css/ htdocs/css/

JS files

rsync -av vendor/marcusgsta/comment/htdocs/js/ htdocs/js/

DI services

You need to add and replace the services from the configuration in vendor/marcusgsta/comment/config/di.php into your own anax installation config/di.php. Services that already exist need to be replaced with the new ones, since they have been edited., (*4)

Database sql files

There is a default sqlite-database included in data/db.sqlite. If you need to set up a new database you can take a look at the sql-files in the sql-directory., (*5)

Administrator usage

Log in with username: admin and password: admin. You will be able to set other users as admin by creating new user and assigning them role: 10. You will also be able to edit/delete all comments and all users., (*6)

Regular users can only edit/delete their own comments and their own user profile., (*7)

License

This software carries a MIT license., (*8)

 .  
..:  Copyright (c) 2017 Marcus Gustafsson (marcusgu@icloud.com)

The Versions