Epilepsy Portal
The Epilepsy portal is de-identified patient and survey management system. It allows clinicians to view the response collected through mobile application. As well as allowing clinicians to monitor patient responses to look for possible interventions.
- install Git
- install Node JS
- install MySql
- optionally install Node Gyp dependencies (strongly recommended)
- clone git repository
https://github.com/promisasu/BrainTracker_Portal.git - open the folder
cd Portal - run
npm install
- if you do not already have a database user, create one
- create a new empty database
CREATE SCHEMA epilepsy_development; - run
npm run init - run
npm run seed
- run
npm run start
- run
npm run statusto view status of all servers - run
npm run logto view server logs
- run
npm run lint - run
npm run test
- run
npm run documentation - open the
documentationfolder in a file explorer - open
index.htmlin a browser
Tasks can be run by calling npm run <task>
checkdetect outdated or insecure packagesdocumentationgenerate code documentationinitcreate a server configuration filelintlint check project fileslint-fixauto fixes some lint errorslogview server logsseedfill database with sample datastartstart all servicesstart-dashboardstart dashboard servicestart-schedulerstart scheduler servicestatuscheck service statusesstopstop all servicesstop-dashboardstop dashboard servicestop-schedulerstop scheduler servicesyncsynchronize database schematestrun the test suiteusercreate a new uservalidatedetect invalid server configuration