From 64f8641013a84028a3177debf2790256e4bd0bfe Mon Sep 17 00:00:00 2001 From: stvnrlly Date: Fri, 28 Oct 2022 12:48:22 -0400 Subject: [PATCH] improvements from feedback --- README.md | 18 ++++++------------ docs/one-off-tasks.md | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 16b93b3d3..79a682726 100644 --- a/README.md +++ b/README.md @@ -43,15 +43,13 @@ Our other repositories are: ### Direct installation -1. Set up Postgres && Redis +1. Set up Postgres && Redis on your machine + +1. Install [pipenv](https://pipenv.pypa.io/en/latest/) 1. Install dependencies into a virtual environment - ``` - pipenv install --dev - createdb notification_api - flask db upgrade - ``` + `make bootstrap` 1. Create the .env file @@ -62,15 +60,11 @@ Our other repositories are: 1. Run Flask - ``` - pipenv run make run-flask - ``` + `make run-flask` 1. Run Celery - ``` - pipenv run make run-celery - ``` + `make run-celery` ### VS Code && Docker installation diff --git a/docs/one-off-tasks.md b/docs/one-off-tasks.md index edbfcefea..a337eaf01 100644 --- a/docs/one-off-tasks.md +++ b/docs/one-off-tasks.md @@ -8,7 +8,7 @@ both with `pytest` and with trial runs. To run a command on cloud.gov, use this format: ``` -cf run-task CLOUD-GOV-SPACE --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND +cf run-task CLOUD-GOV-APP --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND ``` [Here's more documentation](https://docs.cloudfoundry.org/devguide/using-tasks.html) about Cloud Foundry tasks.