diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-05 15:24:28 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-05 15:25:24 -0800 |
commit | dd551b91113389a652e06e6835f13975c3c066fc (patch) | |
tree | fb0c2b702980512b40a123336d4a463bb55025b9 | |
parent | a9c43e510543d1da87642724c5d954fec7fac018 (diff) | |
download | fatcat-scholar-dd551b91113389a652e06e6835f13975c3c066fc.tar.gz fatcat-scholar-dd551b91113389a652e06e6835f13975c3c066fc.zip |
Makefile: rename 'dev' and 'run' to 'serve' and 'serve-gunicorn' (etc)
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |