forked from bystrogenomics/bystro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (26 loc) · 922 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
ray-start-local:
ray stop && ray start --head --disable-usage-stats
ray-stop-local:
ray stop
build-python:
(cd python && maturin build --release)
build-python-dev:
(cd python && maturin develop)
install-python: build-python
pip install python/target/wheels/*.whl
install-go:
(cd ./go && go install bystro/cmd/dosage)
(cd ./go && go install bystro/cmd/dosage-filter)
(cd ./go && go install bystro/cmd/opensearch)
install: install-python install-go
uninstall:
pip uninstall -y bystro
(cd ./go && go clean -i bystro/cmd/opensearch)
develop: install-go build-python-dev ray-start-local
run-local: install ray-start-local
pm2:
pm2 delete all 2> /dev/null || true && pm2 start startup.yml
# Currently assumes that Perl package has been separately installed
serve-local: ray-stop-local run-local pm2
# Currently assumes that Perl package has been separately installed
serve-dev: ray-stop-local develop pm2