-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (22 loc) · 920 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
VERSION=`git describe --tags`
BUILD=`date -u +.%Y%m%d.%H%M%S`
VER ?= $(shell cat VERSION)
debug_zipper:
yomo serve -c ./zipper/workflow.yaml
debug_flow:
go run ./flow/app.go
debug_sink:
go run ./sink/main.go #http://localhost:8000/public/
debug_source:
CONNECTOR_MQTT_AUTH_ENABLE=true CONNECTOR_MQTT_AUTH_USERNAME=yomo CONNECTOR_MQTT_AUTH_PASSWORD=yomo go run ./source/main.go
debug_emitter:
SHAKE_SOURCE_MQTT_PUB_INTERVAL=2000 go run ./cmd/emitter/main.go
debug_web:
cd web && yarn && HOST=0.0.0.0 REACT_APP_WEB_SOCKET_URL=http://localhost:8000 yarn start
debug_homey_source:
SHAKE_ZIPPER_ADDR=yomo.cluing.com:32703 go run ./source/main.go
#SHAKE_ZIPPER_ADDR=10.0.100.3:32703 go run ./source/main.go
debug_homey_web:
cd web && yarn && HOST=0.0.0.0 REACT_APP_WEB_SOCKET_URL=http://yomo.cluing.com:30095 yarn start
debug_homey_emitter:
SHAKE_SOURCE_MQTT_PUB_INTERVAL=2000 go run ./cmd/emitter/main.go