-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
37 lines (30 loc) · 705 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
.EXPORT_ALL_VARIABLES:
# Run presentation env
up:
docker-compose -p aidbox-ts up -d
down:
docker-compose -p aidbox-ts down
#------------------
# Run dev env
up-dev:
docker-compose -f docker-compose.dev.yml -p aidbox-ts-dev up -d
down-dev:
docker-compose -f docker-compose.dev.yml -p aidbox-ts-dev down
#------------------
build-db:
docker build -t ${PG_IMAGE} .
push-db:
docker push ${PG_IMAGE}
app-repl:
cd app && clj -M:test:nrepl
app-build:
#cd app && clojure -A:uberjar
cd app && clojure -A:build
app-run:
java -jar app/app.jar
app-run-container:
docker run aidbox/aidbox-ts-app:main
ui-repl:
cd ui && clj -A:shadow:dev:test watch app
ui-build:
cd ui && clj -A:shadow release app