-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (44 loc) · 1.16 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# NiceGUI based Search UI
#
run:
python main.py
#
# Docker and Compose
#
build:
docker compose build
up:
docker compose up --detach --force-recreate
follow:
docker compose logs --follow
debug:
docker compose --file docker-compose.dev.yml up --force-recreate
down:
docker compose down
clean:
docker compose rm -f -s -v
docker volume rm -f mission_control_search-db
docker network rm -f mission_control_braingeneers-net
shell:
docker compose exec \
search /bin/bash
# --user app --workdir /home/app/code \
#
# SQLite crawler index
#
sqlite-init:
rm data/braingeneers.db
sqlite3 -init create.sql data/braingeneers.db .quit
sqlite-console:
# Shell using the installed sqlite3 vs. systems version
$$(brew --prefix)/opt/sqlite/bin/sqlite3 data/braingeneers.db
#
# Experiment with nwb files for development of nwb browser
#
list-experiment:
aws s3 ls s3://braingeneers/ephys/2023-04-02-e-hc328_unperturbed/
test-head:
curl -v -I localhost:8080/s3/ephys/2023-04-02-e-hc328_unperturbed/shared/hc3.28_hckcr1_chip16835_plated34.2_rec4.2.nwb
test-get:
curl -v localhost:8080/s3/ephys/2023-04-02-e-hc328_unperturbed/shared/hc3.28_hckcr1_chip16835_plated34.2_rec4.2.nwb