加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
Jovonni Pharr 提交于 2020-05-13 00:16 . -v
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 .
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化