forked from GACWR/OpenUBA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (49 loc) · 1.12 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
dev: check run
run:
cd core/ ; python3.7 core.py ;
check:
cd core/ ; \
mypy \
anomaly.py \
case.py \
core.py \
database.py \
dataset.py \
entity.py \
entity_test.py \
encode.py \
encode_test.py \
model.py \
process.py \
process_test.py \
risk.py \
riskmanager.py \
display.py \
user.py \
user_test.py \
utility.py \
alert.py \
api.py \
hash.py \
hash_test.py \
--ignore-missing-imports ;
profile_model:
cd core/ ; python3.7 core.py profile_model ${model_name};
rd: # react development server
cd interface/ ; npm run start
rb: # react build
cd interface/ ; npm run build
electron: # launch electron
cd interface/ ; npm run start-electron
electron_static: # launch electron static react
cd interface/ ; npm run start-electron-static
package: #package react
cd interface/ ; npm run package;
save_dev:
git add * -v ; git commit -am ${M}-v ; git push origin master:main_dev_branch -v;
test:
python3.7 -m unittest discover -s ./core -p "*_test.py" -v
docker_build_server:
time docker build --file "./DockerfileServer" -t openuba-server .
docker_build_ui:
time docker build --file "./DockerfileUI" -t openuba-ui .