mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 13:58:25 -04:00
update pipenv references
This commit is contained in:
@@ -45,7 +45,7 @@ On MacOS, using [Homebrew](https://brew.sh/) for package management is highly re
|
|||||||
|
|
||||||
1. Set up Postgres && Redis on your machine
|
1. Set up Postgres && Redis on your machine
|
||||||
|
|
||||||
1. Install [pipenv](https://pipenv.pypa.io/en/latest/)
|
1. Install [poetry](https://python-poetry.org/docs/#installation)
|
||||||
|
|
||||||
1. Run the project setup
|
1. Run the project setup
|
||||||
|
|
||||||
|
|||||||
@@ -327,8 +327,8 @@ Rules for use:
|
|||||||
$ terraform plan
|
$ terraform plan
|
||||||
$ terraform apply
|
$ terraform apply
|
||||||
```
|
```
|
||||||
1. start a pipenv shell as a shortcut to load `.env` file variables: `$ pipenv shell`
|
1. start a poetry shell as a shortcut to load `.env` file variables: `$ poetry shell`
|
||||||
1. Output requirements.txt file: `pipenv requirements > requirements.txt`
|
1. Output requirements.txt file: `poetry export --without-hashes --format=requirements.txt > requirements.txt`
|
||||||
1. Deploy the application:
|
1. Deploy the application:
|
||||||
```
|
```
|
||||||
cf push --vars-file deploy-config/sandbox.yml --var NEW_RELIC_LICENSE_KEY=$NEW_RELIC_LICENSE_KEY
|
cf push --vars-file deploy-config/sandbox.yml --var NEW_RELIC_LICENSE_KEY=$NEW_RELIC_LICENSE_KEY
|
||||||
@@ -405,7 +405,7 @@ command Using a command allows the operation to be tested, both with `pytest` an
|
|||||||
|
|
||||||
To see information about available commands, you can get a list with:
|
To see information about available commands, you can get a list with:
|
||||||
|
|
||||||
`pipenv run flask command`
|
`poetry run flask command`
|
||||||
|
|
||||||
Appending `--help` to any command will give you more information about parameters.
|
Appending `--help` to any command will give you more information about parameters.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user