Public | Automated Build

Last pushed: 10 hours ago
Short Description
metricbeat
Full Description

README

Dev Build

./build develop

# or

docker-compose build
docker-compose up -d

# View status
docker-compose ps

Deploy Build

# On CI/ local
# Note requires env folder
docker-compose -p sensnet -f docker-compose.deploy.yml pull
docker-compose -p sensnet -f docker-compose.deploy.yml up -d

# Future deploy
#docker-compose -f docker-compose.deploy.yml bundle -o sensnet.dab

# copy sensnet.dab file to docker swarm

#docker deploy sensnet

ENV

TODO document env files

APIs

Current -> Refactor

POST /uploadPic -> POST /api/user/avatar [done]

POST /api/incidents -> POST /api/incidents [test + err handling] # GEIOS ONLY
GET /smsresponse -> POST /api/twilio/sms -> ws [test] # TWILIO ONLY

WS GET_LOCATION -> POST /api/user/location [done]
WS SEND_SMS -> POST /api/alert/sms [test + err handling]
WS GET_LSD_ADDRESS -> GET /api/address [done]
WS Start -> WS /api/ws
WS GET_REPORT -> GET /api/report/checkin [test - need backend change]
WS GET_ALERT_REPORT -> GET /api/report/alert [test - need backend change]

POST /postservicemap -> GET /api/map

TODO

  • /api/address - add caching
  • /api/user/avatar - test non-png files
Docker Pull Command
Owner
sensnet
Source Repository

Comments (0)