olli-stop requires olli-stop-backend. Follow the instructions to install olli-stop-backend before proceeding.
git clone git@github.com:AccessibleOlli/olli-stop.git
git clone https://github.com/AccessibleOlli/olli-stop
cd olli-stop
npm install
.env.template
file to .env
cp .env.template .env
The file should look similar to the following:
PORT=44001
BROWSER=startChrome.js
REACT_APP_OLLI_STOP_IDX=3
REACT_APP_OLLI_BLIND_STOP_IDX=0
REACT_APP_OLLI_BLIND_STOP_DELAY=6000
REACT_APP_REMOTE_TELEMETRY_DB=http://admin:admin@127.0.0.1:5984/telemetry_transitions
REACT_APP_REMOTE_EVENT_DB=http://admin:admin@127.0.0.1:5984/rule_event_transitions
REACT_APP_REMOTE_PERSONA_DB=http://admin:admin@127.0.0.1:5984/persona_transitions
REACT_APP_REMOTE_WS=wss://weather_service_proxy.mybluemix.net
REACT_APP_TEXT_PERSONA_IF_SET=true
REACT_APP_TEXT_PHONE_NUMBER=xxx-xxx-xxxx
package.json
are configured properly to point to olli-stop-backend. It should look something like this:"proxy": {
"/socket": {
"target": "ws://localhost:44000",
"changeOrigin": true,
"ws": true
},
"/": {
"target": "http://localhost:44000",
"changeOrigin": true
}
}
npm start
telemetry_transitions
database in CouchDB/Cloudantgit clone git@github.com:pdykes/ao_sim.git
cd ao_sim/telemetry
export NODE_CONFIG_DIR=../config
node telemetry.js
cd ao_sim/cmdline
export NODE_CONFIG_DIR=../config
node ao.js --control telemetry --operation enable
TODO