mafd16 / comment
Anax comment module.
v1.1.5
2017-10-12 18:45 UTC
Requires
- php: >=5.6
- anax/configure: ^1.0
- anax/database: ^1.1
- anax/di: ^1.0
- anax/page: ^1.0
- anax/request: ^1.0
- anax/response: ^1.0
- anax/router: ^1.0
- anax/session: ^1.0
- anax/url: ^1.0
- anax/view: ^1.0
README
Mafd16 comment module.
Install
Install using composer and then integrate the module with your Anax installation.
Install with composer
composer require mafd16/comment
Configuration files for comment module
cp vendor/mafd16/comment/config/route/* config/route
cp vendor/mafd16/comment/config/database.php config/
Integrate the following parts in to your own installation of Anax (do not just copy!)
vendor/mafd16/comment/config/di.php to config/di.php
vendor/mafd16/comment/config/route.php to config/route.php
vendor/mafd16/comment/config/view.php to config/view.php
Set up and configure an sqlite database
If you donĀ“t already have a database set up
cp -r vendor/anax/database/data/ data/
chmod 777 data
sqlite3 data/db.sqlite < vendor/mafd16/comment/sql/ddl/comments_sqlite.sql
sqlite3 data/db.sqlite < vendor/mafd16/comment/sql/ddl/user_sqlite.sql
chmod 666 data/db.sqlite
License
This software carries a MIT license.
Copyright (c) 2017 Martin Fagerlund (mngfagerlund@gmail.com)