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
- Host: GitHub
- URL: https://github.com/funkatron/cbttool
- Owner: funkatron
- License: mit
- Created: 2015-02-26T19:28:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-02T17:42:28.000Z (over 11 years ago)
- Last Synced: 2024-10-12T07:43:11.671Z (over 1 year ago)
- Language: PHP
- Size: 309 KB
- Stars: 23
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.