These instructions assume you've already set up the front end side of this: if not, get you to https://github.com/v21/traceryhosting-frontend and at least read the README there.
Back? Okay.
- install node & mysql
- clone this repo
- run
npm updateto fetch dependencies - make a copy of
.env.exampleas.env. fill it out! this should trackcredentials.phpfrom the front end pretty closely. the one exception is the database user - for the this end this istracery_node, nottracery_php. so make sure you have the passwords right/both users set up.
CBDQ itself runs on a series of cron entries, calling run_bots_wrapper.sh with an argument specifying the frequency it's running at. you can manually test by running run_bots_wrapper.sh 10 from the command line (assume you have examples with a frequency of every ten minutes in your db)