From ca1a34b8618ffed9a246425db8c3df39878024af Mon Sep 17 00:00:00 2001 From: Rex P Date: Wed, 30 Oct 2024 16:50:08 +1100 Subject: [PATCH] add comment and fix spelling --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ab20ade6abc..97aa55462e8 100644 --- a/Makefile +++ b/Makefile @@ -52,10 +52,11 @@ run-appengine-staging: cd gcp/appengine/blog && hugo --buildFuture -d ../dist/static/blog cd gcp/appengine && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb-test $(run-cmd) python main.py +# Run with `make run-api-server ARGS=--no-backend` to launch esp without backend. run-api-server: test -f $(HOME)/.config/gcloud/application_default_credentials.json || (echo "GCP Application Default Credentials not set, try 'gcloud auth login --update-adc'"; exit 1) cd gcp/api && docker build -f Dockerfile.esp -t osv/esp:latest . - cd gcp/api && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(NOBACKUP) + cd gcp/api && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(ARGS) # TODO: API integration tests. all-tests: lib-tests worker-tests importer-tests alias-tests appengine-tests vulnfeed-tests