A simple web-based Cognitive Behavior Therapy tool
- Install vendor packages with
composer update
- copy
app/config/base.SAMPLE.php
toapp/config/base.php
and fill in your values - create an empty sqlite3 database with the command
sqlite3 ./data/cbttool.sqlite3 "select ''"
- run the DB migrations with
php vendor/bin/phinx migrate
cd
to the base directory of the project (the one that containsapp
,www
, etc).- run the dev server with
./dev-server.sh
. - Open
http://0.0.0.0:9909
in a web browser.
cd
to the base directory of the project (the one that containsapp
,www
, etc).- run the test suite with
./run-tests.sh
.