From 1e179c48b20f884023a2dd7b23741d148caef6bf Mon Sep 17 00:00:00 2001 From: Bill Himmelsbach Date: Fri, 20 Sep 2024 12:30:55 -0700 Subject: [PATCH] fix(start.sh): add regtech-cleanup-api (#950) ## Changes - adds the new `regtech-cleanup-api` to `start.sh` and the README.md ## How to test this PR 1. Try running `yarn update` and see if it works now on checking and updating `regtech-cleanup-api` --- README.md | 5 +++-- start.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 69503af5f..73fde2c2f 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,11 @@ A small app to explore Typescript, Vite and React. 1. Install Node v16.9+: `nvm install && nvm use` 1. Enable [corepack](https://yarnpkg.com/getting-started/install): `corepack enable`. 1. [Docker](https://docs.docker.com/get-docker/) engine version 1.13.0+ with docker compose version 3.0+ support needs to be installed to run all the containerized support services. -1. Have the five repos [sbl-frontend](https://github.com/cfpb/sbl-frontend), [sbl-project](https://github.com/cfpb/sbl-project), [regtech-user-fi-management](https://github.com/cfpb/regtech-user-fi-management), [sbl-filing-api](https://github.com/cfpb/sbl-filing-api/), and [regtech-mail-api](https://github.com/cfpb/regtech-mail-api) as **sibling directories**. +1. Have the six repos [sbl-frontend](https://github.com/cfpb/sbl-frontend), [sbl-project](https://github.com/cfpb/sbl-project), [regtech-user-fi-management](https://github.com/cfpb/regtech-user-fi-management), [sbl-filing-api](https://github.com/cfpb/sbl-filing-api/), [regtech-mail-api](https://github.com/cfpb/regtech-mail-api), and [regtech-cleanup-api](https://github.com/cfpb/regtech-cleanup-api) as **sibling directories**. ``` code-root + ├── regtech-cleanup-api ├── regtech-mail-api ├── regtech-user-fi-management ├── sbl-filing-api @@ -26,7 +27,7 @@ A small app to explore Typescript, Vite and React. ``` -1. Make sure to `git pull` in each of the five directories to have the latest commits. +1. Make sure to `git pull` in each of the six directories to have the latest commits. 1. Create a `.env` based on the [ENV-GUIDE.md](./ENV-GUIDE.md). 1. At the `sbl-frontend` command line, run `yarn start`. This script uses `docker-compose` to start up Docker containers of all of the project components (User management, API, Frontend) to get you up and running. 1. At the `sbl-frontend` command line, run `yarn seed` to generate the necessary mock data in the backend systems. diff --git a/start.sh b/start.sh index d147bf3ac..bce57d748 100644 --- a/start.sh +++ b/start.sh @@ -61,7 +61,7 @@ if [ $? -ne 0 ]; then fi # Define the names of the directories to check -directories=("sbl-frontend" "sbl-project" "regtech-user-fi-management" "regtech-mail-api" "sbl-filing-api") +directories=("sbl-frontend" "sbl-project" "regtech-user-fi-management" "regtech-mail-api" "sbl-filing-api" "regtech-cleanup-api") # Loop through the directories and check if each exists for dir in "${directories[@]}"; do