Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.13 KB

ramverk1-project

Build Status

Maintainability Test Coverage

Project for the course ramverk1 at Blekinge Tekniska Högskola.

Installation

Clone
git clone [email protected]:Toddez/ramverk1-project.git

Install dependencies
make install

Setup database

Create tables
sqlite3 data/db.sqlite < sql/ddl/db_sqlite.sql

Set permissions
chmod 666 data/db.sqlite

May require data/ to have write perms as well
chmod a+w data/

Testing

Create tables
sqlite3 data/test_db.sqlite < sql/ddl/db_sqlite.sql

Set permissions
chmod 666 data/test_db.sqlite

May require data/ to have write perms as well
chmod a+w data/

Run entire test suite
make test

Run only unit tests
make phpunit