-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (24 loc) · 684 Bytes
/
justfile
File metadata and controls
33 lines (24 loc) · 684 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
default:
@just --list
[group("build")]
build-release:
MIX_ENV=prod mix release --overwrite
[group("build")]
start-release:
JWT_SECRET=ahjsdjajdjkahkjdhasd _build/prod/rel/eddb/bin/eddb start
[group("build")]
start-release-remote:
_build/prod/rel/eddb/bin/eddb remote
iex-remote cookie:
DB_PASSWORD=sometestpassword iex --sname local@home --cookie {{ cookie }} -S mix
test:
mix test
start:
iex -S mix
start-node-a:
EDDB_IN_MEMORY=1 iex --name node_a@127.0.0.1 -S mix
start-node-b:
EDDB_IN_MEMORY=1 EDDB_DISABLE_HTTP=1 iex --name node_b@127.0.0.1 --eval "Node.connect(:'node_a@127.0.0.1')" -S mix
[group("hex")]
publish:
mix hex.publish