-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (31 loc) · 802 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
32
33
34
35
36
37
38
# use local .env file
# load .env file on start eny commands in Makefile
# ifneq (,$(wildcard ./.env))
# include .env
# export
# endif
start:
docker compose \
-f ./docker-compose.yml \
--env-file .env \
up -d
stop:
docker compose \
-f ./docker-compose.yml \
--env-file .env \
stop
clear:
docker compose \
-f ./docker-compose.yml \
--env-file .env \
down -v
# oathkeeper should be installed localy for local development
# Docs: https://www.ory.sh/docs/oathkeeper/install
oathkeeper:
oathkeeper serve proxy -c ./config/oathkeeper/oathkeeper.yml
build_server:
go build -C ./server/app/ -o ../bin/chat
app: build_server
./server/bin/chat --config=./server/config.yaml --runXmpp
createLobby: build_server
./server/bin/chat --config=./server/config.yaml --createLobby