An open API service indexing awesome lists of open source software.

https://github.com/funkatron/cbttool

a simple web-based Cognitive Behavior Therapy tool
https://github.com/funkatron/cbttool

Last synced: over 1 year ago
JSON representation

a simple web-based Cognitive Behavior Therapy tool

Awesome Lists containing this project

README

          

CBTTool
===========

A simple web-based Cognitive Behavior Therapy tool

## Setup

- Install vendor packages with `composer update`
- ***copy*** `app/config/base.SAMPLE.php` to `app/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`

## Running dev server

1. `cd` to the base directory of the project (the one that contains `app`, `www`, etc).
2. run the dev server with `./dev-server.sh`.
3. Open [`http://0.0.0.0:9909`](http://0.0.0.0:9909) in a web browser.

## Running tests

1. `cd` to the base directory of the project (the one that contains `app`, `www`, etc).
2. run the test suite with `./run-tests.sh`.