From e34a17dcf8823b0c17298632ccda9f58b6136cd3 Mon Sep 17 00:00:00 2001 From: "Cain, Payton David" <pcain@usgs.gov> Date: Fri, 20 Aug 2021 22:34:35 +0000 Subject: [PATCH] update usage docs from pipenv to poetry --- docs/develop.md | 8 ++++---- docs/metadata_webservice.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/develop.md b/docs/develop.md index b9cf979e6..d7f5ba63d 100644 --- a/docs/develop.md +++ b/docs/develop.md @@ -22,16 +22,16 @@ https://guides.github.com/activities/forking/ ## Install Dependencies -- Using `pipenv` - https://pipenv.kennethreitz.org/en/latest/ +- Using `poetry` + https://github.com/python-poetry/poetry > `pyenv` is also useful for installing specific/multiple versions of python > > - https://github.com/pyenv/pyenv > - https://github.com/pyenv-win/pyenv-win - pipenv install --dev - pipenv shell + poetry install + poetry shell - Or, using Miniconda/Anaconda https://conda.io/miniconda.html diff --git a/docs/metadata_webservice.md b/docs/metadata_webservice.md index 777d96564..f723c0c9b 100644 --- a/docs/metadata_webservice.md +++ b/docs/metadata_webservice.md @@ -27,13 +27,13 @@ exit ``` ``` -pipenv run alembic upgrade head +poetry run alembic upgrade head ``` ### Add some testing data (depends on DATABASE_URL environment set above). ``` -pipenv run python test_metadata.py +poetry run python test_metadata.py ``` ## Set up OpenID application in code.usgs.gov. @@ -68,5 +68,5 @@ export SECRET_SALT=salt - Run app ``` -pipenv run uvicorn geomagio.api:app +poetry run uvicorn geomagio.api:app ``` -- GitLab