-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
50 lines (41 loc) · 936 Bytes
/
justfile
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
40
41
42
43
44
45
46
47
48
49
50
# Run `cargo check`
check:
./run.sh cargo check
# Run `cargo clippy`
clippy:
./run.sh cargo clippy
# Run tests.
#
# Examples:
#
# Run all tests, including integration tests:
#
# just test
#
# Run a specific unit test:
#
# just test chrisdb_client::tests::test_query_for_existing
#
test test_name="": reset
test_name={{test_name}}; ./run.sh cargo test $test_name
# Run in debug mode
run:
./run.sh cargo run
# Stop the run server
kill:
docker compose kill oxidicom
# Delete all PACSFiles from CUBE
reset:
./reset.sh
# Start Orthanc
orthanc:
docker compose up -d
# Start an observability stack for distributed tracing
observe:
docker compose --profile observe up -d
# Remove all data and containers
down:
docker compose --profile observe down -v
# Run the psql shell
psql:
docker exec -it minichris-docker-db-1 psql postgresql://chris:chris1234@localhost:5432/chris