forked from tockn/singo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (26 loc) · 656 Bytes
/
Makefile
File metadata and controls
39 lines (26 loc) · 656 Bytes
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
32
33
34
35
36
37
38
39
.PHONY: sdk-build docker-clean docker-run docker-run-demo docker-build docker-push all up sdk-dev
docker-clean:
-docker rm singo
docker-run: docker-clean
docker run -p 5000:5000 --name singo tockn/singo:latest
docker-run-demo: docker-clean
docker run -p 5000:5000 --name singo tockn/singo:latest --demo
docker-build:
docker build -t tockn/singo .
docker-push:
docker push tockn/singo
all: demo-build docker-build docker-push
up:
docker-compose up --build
demo-build:
cd demo;npm run build
build:
go build -o singo
sdk-build:
cd sdk;yarn build
sdk-dev:
cd sdk; yarn start
run: build
./singo
run-demo: demo-build build
./singo -demo