marcusgsta/comment
Composer 安装命令:
composer require marcusgsta/comment
包简介
Anax COMMENT module.
README 文档
README
Marcusgsta COMMENT module.
Install
Install using composer and then integrate the module with your Anax installation.
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.
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.
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.
Regular users can only edit/delete their own comments and their own user profile.
License
This software carries a MIT license.
.
..: Copyright (c) 2017 Marcus Gustafsson (marcusgu@icloud.com)
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-09