summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-05 15:24:28 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-05 15:25:24 -0800
commitdd551b91113389a652e06e6835f13975c3c066fc (patch)
treefb0c2b702980512b40a123336d4a463bb55025b9
parenta9c43e510543d1da87642724c5d954fec7fac018 (diff)
downloadfatcat-scholar-dd551b91113389a652e06e6835f13975c3c066fc.tar.gz
fatcat-scholar-dd551b91113389a652e06e6835f13975c3c066fc.zip
Makefile: rename 'dev' and 'run' to 'serve' and 'serve-gunicorn' (etc)
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7261808..f31ce7c 100644
--- a/Makefile
+++ b/Makefile
@@ -31,16 +31,16 @@ test: lint ## Run all tests and lints
coverage: lint ## Run all tests with coverage
PIPENV_DONT_LOAD_ENV=1 ENV_FOR_DYNACONF=test pipenv run pytest --cov --cov-report=term --cov-report=html
-.PHONY: dev
-dev: ## Run web service locally, with reloading
+.PHONY: serve
+serve: ## Run web service locally, with reloading
ENV_FOR_DYNACONF=development pipenv run uvicorn fatcat_scholar.web:app --reload --port 9819
-.PHONY: dev-qa
-dev-qa: ## Run web service locally, with reloading, but point search queries to QA search index
+.PHONY: serve-qa
+serve-qa: ## Run web service locally, with reloading, but point search queries to QA search index
ENV_FOR_DYNACONF=qa DYNACONF_SCHOLAR_ENV=dev pipenv run uvicorn fatcat_scholar.web:app --reload --port 9819
-.PHONY: run
-run: ## Run web service under gunicorn
+.PHONY: serve-gunicorn
+serve-gunicorn: ## Run web service under gunicorn
pipenv run gunicorn fatcat_scholar.web:app -w 4 -k uvicorn.workers.UvicornWorker
.PHONY: fetch-works