From a6875677139ef8f03a9d5486c55615d554c1add6 Mon Sep 17 00:00:00 2001 From: Spyros Date: Fri, 17 Nov 2023 10:22:47 +0000 Subject: [PATCH] add makefile target --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e2a094aed..e92800930 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,12 @@ migrate-downgrade: import-all: [ -d "./venv" ] && . ./venv/bin/activate - rm -rf standards_cache.sqlite && make migrate-upgrade && export FLASK_APP=$(CURDIR)/cre.py && python cre.py --add --from_spreadsheet https://docs.google.com/spreadsheets/d/1eZOEYgts7d_-Dr-1oAbogPfzBLh6511b58pX3b59kvg && python cre.py --generate_embeddings && python cre.py --zap_in --cheatsheets_in --github_tools_in --capec_in --owasp_secure_headers_in --pci_dss_4_in --juiceshop_in && python cre.py --generate_embeddings + rm -rf standards_cache.sqlite &&\ + make migrate-upgrade && export FLASK_APP=$(CURDIR)/cre.py &&\ + python cre.py --add --from_spreadsheet https://docs.google.com/spreadsheets/d/1eZOEYgts7d_-Dr-1oAbogPfzBLh6511b58pX3b59kvg &&\ + python cre.py --generate_embeddings && \ + python cre.py --zap_in --cheatsheets_in --github_tools_in --capec_in --owasp_secure_headers_in --pci_dss_4_in --juiceshop_in --cloud_native_security_controls_in &&\ + python cre.py --generate_embeddings import-neo4j: [ -d "./venv" ] && . ./venv/bin/activate