alfs18/ramverk1-projekt

A me page for the ramverk1 course.

v1.0.4 2023-04-06 14:38 UTC

This package is auto-updated.

Last update: 2024-04-17 14:31:59 UTC


README

Maintainability Test Coverage Scrutinizer Code Quality Build Status Code Intelligence Status

Install the module

Step one to install the module:

composer require alfs18/ramverk1-projekt

Then, to get the files, type:

Please note that the following line will overwrite your header.php and responsive.php.

rsync -av vendor/alfs18/ramverk1-projekt/config ./

or (if you don't want to overwrite header.php and responsive.php):

rsync -av vendor/alfs18/ramverk1-projekt/config/router ./config

rsync -av vendor/alfs18/ramverk1-projekt/content/block/picture.md ./content/block

The following line will add the css-file mine4.css and some images in the img-folder.

rsync -av vendor/alfs18/ramverk1-projekt/htdocs ./

rsync -av vendor/alfs18/ramverk1-projekt/sql ./

rsync -av vendor/alfs18/ramverk1-projekt/src ./

rsync -av vendor/alfs18/ramverk1-projekt/view ./

Add the tables to the database db.sqlite

sqlite3 data/db.sqlite < sql/ddl/answer_comments_sqlite.sql

sqlite3 data/db.sqlite < sql/ddl/answers_sqlite.sql

sqlite3 data/db.sqlite < sql/ddl/comments_sqlite.sql

sqlite3 data/db.sqlite < sql/ddl/pictures_sqlite.sql

sqlite3 data/db.sqlite < sql/ddl/question_sqlite.sql

sqlite3 data/db.sqlite < sql/ddl/user_sqlite.sql