emsa16/comment

View on GitHub
script/install-module

Summary

Maintainability
Test Coverage
#!/bin/bash

mkdir -p config/di
rsync -av vendor/emsa/comment/config/di.php config/di/comment.php
echo "DONE: Comment module added to DI container in config/di/comment.php"

rsync -av vendor/emsa/comment/config/route.php config/route/comment.php
echo "DONE: Comment module routes added in config/route/comment.php"

mkdir -p sql/ddl
rsync -av vendor/emsa/comment/sql/mysql_default.sql sql/ddl/comment_mysql_default.sql
echo "DONE: Comment module SQL DDL added to sql/ddl/comment_mysql_default.sql"

mkdir -p content/comment
rsync -av vendor/emsa/comment/content/* content/comment
echo "DONE: Comment module example pages added to content/comment"

mkdir -p view/comment
rsync -av vendor/emsa/comment/view/* view/comment
echo "DONE: Comment module example views added to view/comment"